Use "PR_[PRNumber]" as version tag for PR builds (using the anonymous to limited)

This commit is contained in:
lukeIam committed 2015-12-06 18:02:42 +01:00
1 parent 873619ccf8
commit 4c16284ce0
1 file changed
+6
+6
View File
@@ -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 = ""