Use "PR_[PRNumber]" as version tag for PR builds (using the anonymous to limited)
This commit is contained in:
1 parent
873619ccf8
commit
4c16284ce0
1 file changed
+6
@@ -1,3 +1,9 @@
|
||||
if($Env:APPVEYOR_PULL_REQUEST_NUMBER)
|
||||
{
|
||||
$Env:VersionTag = "PR_$Env:APPVEYOR_PULL_REQUEST_NUMBER"
|
||||
Return $Env:VersionTag
|
||||
}
|
||||
|
||||
$currentCommitSha = $Env:CurrentCommitSha
|
||||
$githubRepoApiUri = $Env:githubRepoApiUri #"https://api.github.com/repos/:user/:repo/"
|
||||
$Env:VersionTag = ""
|
||||
|
||||
Reference in new issue
Block a user