Fix: deployment does not work under some circumstances

This commit is contained in:
lukeIam authored and derivator committed 2015-12-06 14:09:55 +01:00
1 parent 80516570a6
commit d1b0431964
4 files changed
+23 -12

No files matched your search

+2 -5
View File
@@ -1,12 +1,9 @@
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"
}
Write-Host "Deploy for tag $targetTag"
}
else{
Write-Host "No tag found: no preparation required"
Return;
}