From bcc79b77d828a04a05a8b75bffe147db202659c4 Mon Sep 17 00:00:00 2001 From: lukeIam <2lukeiam@gmail.com> Date: Mon, 14 Aug 2017 18:00:58 +0200 Subject: [PATCH] Modified pre-release tagging: true for nightly and tags containing beta, false for all others (normal releases). --- .appveyor/prepareDeploy.ps1 | 2 ++ appveyor.yml | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.appveyor/prepareDeploy.ps1 b/.appveyor/prepareDeploy.ps1 index 6e32e3a2..e9db2bc9 100644 --- a/.appveyor/prepareDeploy.ps1 +++ b/.appveyor/prepareDeploy.ps1 @@ -7,6 +7,8 @@ else{ Return; } +$Env:IS_BETA_RELEASE = ($Env:APPVEYOR_REPO_TAG_NAME -match "beta") + $getRelaseInfoParams = @{ Uri = "https://api.github.com/repos/Vocaluxe/Vocaluxe/releases/tags/$targetTag"; Method = 'GET'; diff --git a/appveyor.yml b/appveyor.yml index 09886aab..004abdfd 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -90,7 +90,7 @@ deploy: auth_token: secure: JSlN/em0JdspVn8jwaQ4IjugY6OQi0au4Qq0rhctJmcfGMaEGnUAOmDFULI48REW artifact: ReleaseZip - prerelease: true + prerelease: $(IS_BETA_RELEASE) on: APPVEYOR_REPO_TAG: true NIGHTLY_BUILD: false @@ -102,6 +102,7 @@ deploy: auth_token: secure: JSlN/em0JdspVn8jwaQ4IjugY6OQi0au4Qq0rhctJmcfGMaEGnUAOmDFULI48REW artifact: ReleaseZip + prerelease: true on: APPVEYOR_REPO_TAG: true NIGHTLY_BUILD: true