Skip to content

Commit bc5626e

Browse files
authored
Merge pull request #3467 from Vogel612/scripts
Bumped version in appveyor.yml and added installer-move for master br…
2 parents 7ffd582 + a1a8ae8 commit bc5626e

File tree

1 file changed

+74
-54
lines changed

1 file changed

+74
-54
lines changed

appveyor.yml

Lines changed: 74 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,97 @@
1-
version: 2.1.0
2-
for:
3-
-
4-
branches:
5-
only:
6-
- master
7-
- next
8-
version: 2.1.0.{build}
9-
after_test:
10-
- cmd: iscc /q "Installer Build Script.iss"
11-
- cmd: move Installers\Rubberduck.Setup.exe Installers\Rubberduck.Setup.%APPVEYOR_BUILD_VERSION%-pre.exe
1+
version: '2.1.1.{build}'
2+
3+
# add nuget api to hosts file, making sure we can actually nuget restore for the build
4+
hosts:
5+
api.nuget.org: 93.184.221.200
6+
7+
# enforce crlf fixing
8+
init:
9+
git config --global core.autocrlf true
10+
# restrict how much history we try to grab
11+
clone_depth: 3
12+
# ignore a certain subset of files when evaluating build-changes
1213
skip_commits:
1314
files:
1415
- docs/*
1516
- '**/*.md'
16-
- '**/*.yml'
17+
#- '**/*.yml'
1718
- license
1819
- License.rtf
1920
branches:
2021
only:
2122
- master
2223
- next
2324
skip_tags: true
25+
26+
# build-matrix: all Release CPUs on VS2017
2427
image: Visual Studio 2017
2528
configuration: Release
2629
platform: Any CPU
30+
31+
# cache the nuget packages unless something changed there
32+
cache:
33+
- packages/ -> **/packages.config
34+
35+
2736
install:
28-
- cmd: set PATH=C:\Program Files (x86)\MSBuild\15.0\Bin;%PATH%
29-
init:
30-
- git config --global core.autocrlf true
31-
before_build:
32-
- ps: choco install innosetup
33-
build:
34-
verbosity: normal
37+
set PATH=C:\Program Files (x86)\MSBuild\15.0\Bin;%PATH%
3538
assembly_info:
3639
patch: true
3740
file: RetailCoder.VBE\Properties\AssemblyInfo.cs
3841
assembly_version: '{version}'
39-
hosts:
40-
api.nuget.org: 93.184.221.200
42+
43+
before_build:
44+
cinst innosetup
45+
build:
46+
verbosity: minimal
47+
4148
before_package:
42-
- cmd: copy Rubberduck.Inspections\bin\Release\Rubberduck.Inspections.dll RetailCoder.VBE\bin\Release\Rubberduck.Inspections.dll
43-
after_test:
44-
- iscc /q "Installer Build Script.iss"
45-
- cmd: move Installers\Rubberduck.Setup.exe Installers\Rubberduck.Setup.%APPVEYOR_BUILD_VERSION%.exe
49+
- copy Rubberduck.Inspections\bin\Release\Rubberduck.Inspections.dll RetailCoder.VBE\bin\Release\Rubberduck.Inspections.dll
50+
51+
for:
52+
- branches:
53+
only:
54+
- next
55+
after_test:
56+
- iscc /q "Installer Build Script.iss"
57+
- move Installers\Rubberduck.Setup.exe Installers\Rubberduck.Setup.%APPVEYOR_BUILD_VERSION%-pre.exe
58+
- branches:
59+
only:
60+
- master
61+
after_test:
62+
- iscc /q "Installer Build Script.iss"
63+
- move Installers\Rubberduck.Setup.exe Installers\Rubberduck.Setup.%APPVEYOR_BUILD_VERSION%.exe
64+
65+
# grab the installers we produce and upload them to github :)
4666
artifacts:
47-
- path: Installers\Rubberduck.Setup.*.exe
48-
name: Rubberduck
67+
- path: Installers\Rubberduck.Setup.*.exe
68+
name: Rubberduck
4969
deploy:
50-
- provider: GitHub
51-
tag: Rubberduck v$(appveyor_build_version)
52-
release: Rubberduck v$(appveyor_build_version)
53-
description: AppVeyor build on [master] - https://ci.appveyor.com/project/retailcoder/rubberduck/build/$(appveyor_build_version)
54-
auth_token:
55-
secure: oh0SRnZVt0ABeWqFr7ut5TZkxFJjHmS/DZnJnp2HErQTCmX3O8RASJH3ZiYl11gz
56-
artifact: Installers\Rubberduck.Setup.$(appveyor_build_version).exe
57-
draft: true
58-
prerelease: false
59-
on:
60-
branch: master
61-
- provider: GitHub
62-
tag: Rubberduck v$(appveyor_build_version)
63-
release: Rubberduck v$(appveyor_build_version)-pre
64-
description: AppVeyor build on [next] - https://ci.appveyor.com/project/retailcoder/rubberduck/build/$(appveyor_build_version)
65-
auth_token:
66-
secure: oh0SRnZVt0ABeWqFr7ut5TZkxFJjHmS/DZnJnp2HErQTCmX3O8RASJH3ZiYl11gz
67-
artifact: Installers\Rubberduck.Setup.$(appveyor_build_version)-pre.exe
68-
draft: false
69-
prerelease: true
70-
on:
71-
branch: next
70+
- provider: GitHub
71+
tag: Rubberduck v$(appveyor_build_version)
72+
release: Rubberduck v$(appveyor_build_version)
73+
description: AppVeyor build on [master] - https://ci.appveyor.com/project/retailcoder/rubberduck/build/$(appveyor_build_version)
74+
auth_token:
75+
secure: oh0SRnZVt0ABeWqFr7ut5TZkxFJjHmS/DZnJnp2HErQTCmX3O8RASJH3ZiYl11gz
76+
artifact: Installers\Rubberduck.Setup.$(appveyor_build_version).exe
77+
draft: true
78+
prerelease: false
79+
on:
80+
branch: master
81+
- provider: GitHub
82+
tag: Rubberduck v$(appveyor_build_version)
83+
release: Rubberduck v$(appveyor_build_version)-pre
84+
description: AppVeyor build on [next] - https://ci.appveyor.com/project/retailcoder/rubberduck/build/$(appveyor_build_version)
85+
auth_token:
86+
secure: oh0SRnZVt0ABeWqFr7ut5TZkxFJjHmS/DZnJnp2HErQTCmX3O8RASJH3ZiYl11gz
87+
artifact: Installers\Rubberduck.Setup.$(appveyor_build_version)-pre.exe
88+
draft: false
89+
prerelease: true
90+
on:
91+
branch: next
7292
notifications:
73-
- provider: Webhook
74-
url: http://stats.zomis.net/GithubHookSEChatService/hooks/github/payload?roomId=14929
75-
on_build_success: true
76-
on_build_failure: true
77-
on_build_status_changed: false
93+
- provider: Webhook
94+
url: http://stats.zomis.net/GithubHookSEChatService/hooks/github/payload?roomId=14929
95+
on_build_success: true
96+
on_build_failure: true
97+
on_build_status_changed: false

0 commit comments

Comments
 (0)