Skip to content

Commit e240d2f

Browse files
shadowofsiliconretailcoder
authored andcommitted
Adds version number in installer filenames (#3294)
1 parent e46a4a0 commit e240d2f

File tree

1 file changed

+26
-27
lines changed

1 file changed

+26
-27
lines changed

appveyor.yml

Lines changed: 26 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
version: 2.1.0
2+
for:
3+
-
4+
branches:
5+
only:
6+
- next
7+
version: 2.1.0.{build}
8+
after_test:
9+
- cmd: iscc /q "Installer Build Script.iss"
10+
- cmd: move Installers\Rubberduck.Setup.exe Installers\Rubberduck.Setup.%APPVEYOR_BUILD_VERSION%-pre.exe
111
branches:
212
only:
313
- master
@@ -18,29 +28,17 @@ assembly_info:
1828
patch: true
1929
file: RetailCoder.VBE\Properties\AssemblyInfo.cs
2030
assembly_version: '{version}'
21-
artifacts:
22-
- path: Installers\Rubberduck.Setup.exe
23-
name: Rubberduck
2431
hosts:
2532
api.nuget.org: 93.184.221.200
26-
after_test:
27-
- iscc /q "Installer Build Script.iss"
2833
before_package:
2934
- cmd: copy Rubberduck.Inspections\bin\Release\Rubberduck.Inspections.dll RetailCoder.VBE\bin\Release\Rubberduck.Inspections.dll
30-
before_deploy:
35+
after_test:
36+
- iscc /q "Installer Build Script.iss"
3137
- cmd: move Installers\Rubberduck.Setup.exe Installers\Rubberduck.Setup.%APPVEYOR_BUILD_VERSION%.exe
38+
artifacts:
39+
- path: Installers\Rubberduck.Setup.*.exe
40+
name: Rubberduck
3241
deploy:
33-
- provider: GitHub
34-
tag: Rubberduck v$(appveyor_build_version)
35-
release: Rubberduck v$(appveyor_build_version)-prerelease
36-
description: AppVeyor build on [next] - https://ci.appveyor.com/project/retailcoder/rubberduck/build/$(appveyor_build_version)
37-
auth_token:
38-
secure: oh0SRnZVt0ABeWqFr7ut5TZkxFJjHmS/DZnJnp2HErQTCmX3O8RASJH3ZiYl11gz
39-
artifact: Installers\Rubberduck.Setup.$(appveyor_build_version)-prerelease.exe
40-
draft: false
41-
prerelease: true
42-
on:
43-
branch: next
4442
- provider: GitHub
4543
tag: Rubberduck v$(appveyor_build_version)
4644
release: Rubberduck v$(appveyor_build_version)
@@ -52,19 +50,20 @@ deploy:
5250
prerelease: false
5351
on:
5452
branch: master
53+
- provider: GitHub
54+
tag: Rubberduck v$(appveyor_build_version)
55+
release: Rubberduck v$(appveyor_build_version)-pre
56+
description: AppVeyor build on [next] - https://ci.appveyor.com/project/retailcoder/rubberduck/build/$(appveyor_build_version)
57+
auth_token:
58+
secure: oh0SRnZVt0ABeWqFr7ut5TZkxFJjHmS/DZnJnp2HErQTCmX3O8RASJH3ZiYl11gz
59+
artifact: Installers\Rubberduck.Setup.$(appveyor_build_version)-pre.exe
60+
draft: false
61+
prerelease: true
62+
on:
63+
branch: next
5564
notifications:
5665
- provider: Webhook
5766
url: http://stats.zomis.net/GithubHookSEChatService/hooks/github/payload?roomId=14929
5867
on_build_success: true
5968
on_build_failure: true
6069
on_build_status_changed: false
61-
version: 2.1.0
62-
for:
63-
-
64-
branches:
65-
only:
66-
- next
67-
version: 2.1.0.{build}
68-
before_deploy:
69-
- cmd: move Installers\Rubberduck.Setup.exe Installers\Rubberduck.Setup.%APPVEYOR_BUILD_VERSION%-prerelease.exe
70-
- cmd: dir Installers

0 commit comments

Comments
 (0)