Skip to content

Commit

Permalink
chore(appveyor): set build number to 0 for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
lotem committed Jun 22, 2019
1 parent 99a9d7d commit 564b4d3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
skip_tags: false
clone_depth: 1
pull_requests:
do_not_increment_build_number: true
Expand All @@ -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:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion update/appcast.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<title>小狼毫 0.14.2</title>
<sparkle:releaseNotesLink>http://rime.github.io/release/weasel/release-notes.html</sparkle:releaseNotesLink>
<pubDate>Mon, 17 Jun 2019 23:51:53 +0800</pubDate>
<enclosure url="https://dl.bintray.com/rime/weasel/weasel-0.14.2.140-installer.exe"
<enclosure url="https://dl.bintray.com/rime/weasel/weasel-0.14.2.0-installer.exe"
sparkle:version="0.14.2"
type="application/octet-stream"/>
</item>
Expand Down
2 changes: 1 addition & 1 deletion update/testing-appcast.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<title>小狼毫 0.14.2</title>
<sparkle:releaseNotesLink>http://rime.github.io/testing/weasel/release-notes.html</sparkle:releaseNotesLink>
<pubDate>Mon, 17 Jun 2019 23:51:53 +0800</pubDate>
<enclosure url="https://dl.bintray.com/rime/weasel/weasel-0.14.2.140-installer.exe"
<enclosure url="https://dl.bintray.com/rime/weasel/weasel-0.14.2.0-installer.exe"
sparkle:version="0.14.2"
type="application/octet-stream"/>
</item>
Expand Down

0 comments on commit 564b4d3

Please sign in to comment.