Updated Appveyor for nightlies

This commit is contained in:
xarkes 2018-12-24 15:23:03 +01:00 committed by GitHub
parent 97cacd15f4
commit 81363c9b63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: