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

+17
View File
@@ -0,0 +1,17 @@
if($Env:APPVEYOR_REPO_TAG -eq "true") {
Write-Host "Taged commit detected"
$targetTag = $Env:APPVEYOR_REPO_TAG_NAME
Write-Host "Tag=$targetTag"
$Env:NIGHTLY_BUILD = "false"
if($targetTag -eq "Nightly") {
$Env:NIGHTLY_BUILD = "true"
Write-Host "This is a nightly build"
}
else
{
Write-Host "This is NOT a nightly build"
}
}
else{
Return;
}