Skip to content

Commit 399c92a

Browse files
committed
Have some fun with release descriptions
1 parent 2a2496f commit 399c92a

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

appveyor.yml

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,14 @@ for:
7878
- next
7979
environment:
8080
installer_name: Rubberduck.Setup.%APPVEYOR_BUILD_VERSION%-pre.exe
81+
release_name: Rubberduck v%APPVEYOR_BUILD_VERSION%-pre
8182
-
8283
branches:
8384
only:
8485
- master
8586
environment:
8687
installer_name: Rubberduck.Setup.%APPVEYOR_BUILD_VERSION%.exe
88+
release_name: Rubberduck v%APPVEYOR_BUILD_VERSION%
8789
-
8890
branches:
8991
except:
@@ -92,6 +94,7 @@ for:
9294
environment:
9395
# fall back to calling the installer after the branch we're on
9496
installer_name: Rubberduck.Setup.%APPVEYOR_BUILD_VERSION%-%APPVEYOR_REPO_BRANCH%.exe
97+
release_name: Rubberduck v%APPVEYOR_BUILD_VERSION%-%APPVEYOR_REPO_BRANCH%
9598

9699
# Create Installers to store at appveyor and upload to github
97100
after_test:
@@ -105,26 +108,30 @@ artifacts:
105108
deploy:
106109
- provider: GitHub
107110
tag: Rubberduck v$(appveyor_build_version)
108-
release: Rubberduck v$(appveyor_build_version)
109-
description: AppVeyor build on [master] - https://ci.appveyor.com/project/rubberduck-vba/rubberduck/build/$(appveyor_build_version)
111+
release: $(release_name)
112+
draft: true
113+
prerelease: false
114+
description: "Built with :heart: by AppVeyor CI on [$(appveyor_repo_branch)] - https://ci.appveyor.com/project/rubberduck-vba/rubberduck/build/$(appveyor_build_version)"
110115
auth_token:
111116
secure: NVAZgFRSk566SP5QDge5gYRWCaLi4NJJPTNk3QengH15wL9iVldfrFOllbzKXExq
112117
artifact: Rubberduck
113-
draft: true
114-
prerelease: false
115-
on:
118+
on:
116119
branch: master
117120
- provider: GitHub
118121
tag: Rubberduck v$(appveyor_build_version)
119-
release: Rubberduck v$(appveyor_build_version)-pre
120-
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)
121129
auth_token:
122130
secure: NVAZgFRSk566SP5QDge5gYRWCaLi4NJJPTNk3QengH15wL9iVldfrFOllbzKXExq
123131
artifact: Rubberduck
124-
draft: false
125-
prerelease: true
126-
on:
132+
on:
127133
branch: next
134+
128135
# This is Duga posting stuff to the war room
129136
notifications:
130137
- provider: Webhook

0 commit comments

Comments
 (0)