From 564b4d34f4bfb703f049391c54ca509545a59b74 Mon Sep 17 00:00:00 2001 From: Chen Gong Date: Sat, 22 Jun 2019 22:03:13 +0800 Subject: [PATCH] chore(appveyor): set build number to 0 for releases --- appveyor.yml | 7 +++---- update/appcast.xml | 2 +- update/testing-appcast.xml | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 7e6c46772..57801f145 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,3 @@ -skip_tags: false clone_depth: 1 pull_requests: do_not_increment_build_number: true @@ -24,11 +23,11 @@ install: - .\appveyor.install.bat build_script: - - set WEASEL_BUILD=%APPVEYOR_BUILD_NUMBER% + - if "%APPVEYOR_REPO_TAG%" == "false" set WEASEL_BUILD=%APPVEYOR_BUILD_NUMBER% - .\build.bat data hant installer artifacts: - - path: output\archives\weasel-0.14.2.$(appveyor_build_number)-installer.exe + - path: output\archives\weasel-0.14.2.*-installer.exe name: Weasel deploy: @@ -50,7 +49,7 @@ deploy: subject: rime repo: weasel package: testing - version: 0.14.2.$(appveyor_build_number) + version: 0.14.2.$(APPVEYOR_BUILD_NUMBER) publish: true override: false explode: false diff --git a/update/appcast.xml b/update/appcast.xml index ed19bdbe2..12446d4d4 100644 --- a/update/appcast.xml +++ b/update/appcast.xml @@ -9,7 +9,7 @@ 小狼毫 0.14.2 http://rime.github.io/release/weasel/release-notes.html Mon, 17 Jun 2019 23:51:53 +0800 - diff --git a/update/testing-appcast.xml b/update/testing-appcast.xml index 5efd5de06..f0dbda482 100644 --- a/update/testing-appcast.xml +++ b/update/testing-appcast.xml @@ -9,7 +9,7 @@ 小狼毫 0.14.2 http://rime.github.io/testing/weasel/release-notes.html Mon, 17 Jun 2019 23:51:53 +0800 -