From 81363c9b63fed580982b19a3497d4ce571adbbb0 Mon Sep 17 00:00:00 2001 From: xarkes Date: Mon, 24 Dec 2018 15:23:03 +0100 Subject: [PATCH] Updated Appveyor for nightlies --- .appveyor.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index fd8b1f2e..8a1f69ff 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -37,7 +37,8 @@ install: - cmd: python -m pip install meson==0.48.2 - cmd: powershell -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; wget %NINJA_URL% -OutFile ninja.zip; Expand-Archive .\ninja.zip -DestinationPath ." # Artifacts - - cmd: set "ARTIFACT_NAME=Cutter_%ARCH%" + - cmd: set "ARTIFACT_NAME=Cutter_win_%ARCH%" + - cmd: if not %APPVEYOR_REPO_TAG% equ true ( echo "This is not tagged as release, will deploy nightly..." ) - cmd: if not %APPVEYOR_REPO_TAG% equ true ( set "ARTIFACT_NAME=%ARTIFACT_NAME%-nightly" && set "DEPLOY_RELEASE=nightly" ) else ( set "DEPLOY_RELEASE=%APPVEYOR_REPO_TAG_NAME%" ) - cmd: if defined MESON ( set "ARTIFACT_PATH=dist_%ARCH%" ) else ( set "ARTIFACT_PATH=build_%ARCH%\cutter" ) @@ -88,6 +89,7 @@ deploy: prerelease: true force_update: true on: + appveyor_repo_tag: true DEPLOY: true for: