|
9 | 9 | git config --global core.autocrlf true
|
10 | 10 |
|
11 | 11 | # history limited to 15 commits, since we ran into trouble with a limit of 3
|
12 |
| -# the limit can be rather |
| 12 | +# the limit can be rather generous |
13 | 13 | clone_depth: 15
|
14 | 14 | # explicitly do not shallow-clone.
|
15 | 15 | # Line-Endings are wrong on github, because of CRLF fixing
|
@@ -48,9 +48,6 @@ dotnet_csproj:
|
48 | 48 | file: 'RubberduckBaseProject.csproj' # ;*\Rubberduck.Core.csproj'
|
49 | 49 | version: '{version}'
|
50 | 50 | assembly_version: '{version}'
|
51 |
| - # patching fails if we try to patch properties we didn't define |
52 |
| - #file_version: '{version}' |
53 |
| - #informational_version: '{version}' |
54 | 51 |
|
55 | 52 |
|
56 | 53 | before_build:
|
|
81 | 78 | - next
|
82 | 79 | environment:
|
83 | 80 | installer_name: Rubberduck.Setup.%APPVEYOR_BUILD_VERSION%-pre.exe
|
| 81 | + release_name: Rubberduck v%APPVEYOR_BUILD_VERSION%-pre |
84 | 82 | -
|
85 | 83 | branches:
|
86 | 84 | only:
|
87 | 85 | - master
|
88 | 86 | environment:
|
89 | 87 | installer_name: Rubberduck.Setup.%APPVEYOR_BUILD_VERSION%.exe
|
| 88 | + release_name: Rubberduck v%APPVEYOR_BUILD_VERSION% |
90 | 89 | -
|
91 | 90 | branches:
|
92 | 91 | except:
|
93 | 92 | - master
|
94 | 93 | - next
|
95 | 94 | environment:
|
96 |
| - # fall back to calling the installer after the branch we're on |
97 |
| - installer_name: Rubberduck.Setup.%APPVEYOR_BUILD_VERSION%-%APPVEYOR_REPO_BRANCH%.exe |
| 95 | + # fall back to naming the installer something that shows we're in an unexpected state |
| 96 | + installer_name: Rubberduck.Setup.%APPVEYOR_BUILD_VERSION%-unexpected.exe |
| 97 | + release_name: Rubberduck v%APPVEYOR_BUILD_VERSION%-%APPVEYOR_REPO_BRANCH% |
98 | 98 |
|
99 |
| -# Create Installers for |
| 99 | +# Create Installers to store at appveyor and upload to github |
100 | 100 | after_test:
|
101 | 101 | - cmd: iscc /O "Rubberduck.Deployment\InnoSetup\Rubberduck.Installer.Build.iss"
|
102 | 102 | - cmd: move %INSTALLER_DIR%\Rubberduck.Setup.exe %INSTALLER_DIR%\%INSTALLER_NAME%
|
103 |
| - |
| 103 | + |
104 | 104 | # grab the installers we produce and upload them to github :)
|
105 | 105 | artifacts:
|
106 | 106 | - path: Rubberduck.Deployment\InnoSetup\Installers\Rubberduck.Setup.*.exe
|
107 | 107 | name: Rubberduck
|
108 | 108 | deploy:
|
109 | 109 | - provider: GitHub
|
110 | 110 | tag: Rubberduck v$(appveyor_build_version)
|
111 |
| - release: Rubberduck v$(appveyor_build_version) |
112 |
| - description: AppVeyor build on [master] - https://ci.appveyor.com/project/rubberduck-vba/rubberduck/build/$(appveyor_build_version) |
113 |
| - auth_token: |
114 |
| - secure: NVAZgFRSk566SP5QDge5gYRWCaLi4NJJPTNk3QengH15wL9iVldfrFOllbzKXExq |
115 |
| - artifact: Rubberduck.Deployment\InnoSetup\Installers\Rubberduck.Setup.$(appveyor_build_version).exe |
| 111 | + release: $(release_name) |
116 | 112 | draft: true
|
117 | 113 | prerelease: false
|
118 |
| - on: |
| 114 | + description: "Built with :heart: by AppVeyor CI on [$(appveyor_repo_branch)] - https://ci.appveyor.com/project/rubberduck-vba/rubberduck/build/$(appveyor_build_version)" |
| 115 | + auth_token: |
| 116 | + secure: NVAZgFRSk566SP5QDge5gYRWCaLi4NJJPTNk3QengH15wL9iVldfrFOllbzKXExq |
| 117 | + artifact: Rubberduck |
| 118 | + on: |
119 | 119 | branch: master
|
120 | 120 | - provider: GitHub
|
121 | 121 | tag: Rubberduck v$(appveyor_build_version)
|
122 |
| - release: Rubberduck v$(appveyor_build_version)-pre |
123 |
| - description: AppVeyor build on [next] - https://ci.appveyor.com/project/rubberduck-vba/rubberduck/build/$(appveyor_build_version) |
| 122 | + release: $(release_name) |
| 123 | + draft: true |
| 124 | + prerelease: false |
| 125 | + description: >- |
| 126 | + AppVeyor build on [$(appveyor_repo_branch)] - https://ci.appveyor.com/project/rubberduck-vba/rubberduck/build/$(appveyor_build_version) |
| 127 | +
|
| 128 | + Merges \#$(appveyor_pull_request_number) - $(appveyor_pull_request_title) |
124 | 129 | auth_token:
|
125 | 130 | secure: NVAZgFRSk566SP5QDge5gYRWCaLi4NJJPTNk3QengH15wL9iVldfrFOllbzKXExq
|
126 |
| - artifact: Rubberduck.Deployment\InnoSetup\Installers\Rubberduck.Setup.$(appveyor_build_version)-pre.exe |
127 |
| - draft: false |
128 |
| - prerelease: true |
129 |
| - on: |
| 131 | + artifact: Rubberduck |
| 132 | + on: |
130 | 133 | branch: next
|
| 134 | + |
| 135 | +# This is Duga posting stuff to the war room |
131 | 136 | notifications:
|
132 | 137 | - provider: Webhook
|
133 | 138 | url: http://stats.zomis.net/GithubHookSEChatService/hooks/github/payload?roomId=14929
|
|
0 commit comments