Fixed nightly detection

This commit is contained in:
lukeIam authored and derivator committed 2015-12-06 13:48:16 +01:00
1 parent 11dbef6f37
commit 0171b19084
2 files changed
+4 -2

No files matched your search

-2
View File
@@ -1,7 +1,5 @@
$Env:NIGHTLY_BUILD = false
if($Env:APPVEYOR_REPO_TAG -ne "true") {
if($Env:APPVEYOR_REPO_BRANCH -eq "appveyorTest"){
$targetTag = "Nightly"
$Env:NIGHTLY_BUILD = true
}
else{
+4
View File
@@ -1,6 +1,10 @@
if($Env:APPVEYOR_REPO_TAG -eq "true") {
$targetTag = $Env:APPVEYOR_REPO_TAG_NAME
Write-Host "Tag=$targetTag"
$Env:NIGHTLY_BUILD = "false"
if($targetTag -eq "Nightly") {
$Env:NIGHTLY_BUILD = "true"
}
}
else{
Return;