Skip to content

Commit e159a96

Browse files
authored
Add GitHub Release creation to official pipeline (#54)
1 parent 1aca5e1 commit e159a96

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

build/official.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,3 +252,46 @@ jobs:
252252
253253
Write-Host "Successfully released v$version"
254254
displayName: 'Commit, Tag, and Push'
255+
256+
- job: CreateGitHubRelease
257+
displayName: 'Create GitHub Release'
258+
dependsOn:
259+
- DetermineVersion
260+
- CreateInstaller
261+
- TagAndPush
262+
condition: and(succeeded(), eq(variables.isMaster, true))
263+
pool:
264+
name: 'Azure-MessagingStore-WinBuildPoolARM'
265+
variables:
266+
ReleaseVersion: $[ dependencies.DetermineVersion.outputs['SetVersion.ReleaseVersion'] ]
267+
steps:
268+
- checkout: self
269+
270+
- download: current
271+
artifact: vld-installer
272+
273+
- task: GitHubRelease@1
274+
displayName: 'Create GitHub Release'
275+
inputs:
276+
gitHubConnection: 'Azure-Pipelines'
277+
repositoryName: '$(Build.Repository.Name)'
278+
action: 'create'
279+
target: '$(Build.SourceVersion)'
280+
tagSource: 'userSpecifiedTag'
281+
tag: 'v$(ReleaseVersion)'
282+
title: 'VLD v$(ReleaseVersion)'
283+
releaseNotesSource: 'inline'
284+
releaseNotesInline: |
285+
## Visual Leak Detector v$(ReleaseVersion)
286+
287+
### Changes
288+
$(Build.SourceVersionMessage)
289+
290+
### Installation
291+
Download and run the installer below. See [README](https://github.com/$(Build.Repository.Name)/blob/master/README.md) for usage instructions.
292+
assets: '$(Pipeline.Workspace)/vld-installer/*'
293+
isDraft: false
294+
isPreRelease: false
295+
changeLogCompareToRelease: 'lastFullRelease'
296+
changeLogType: 'commitBased'
297+
addChangeLog: true

0 commit comments

Comments
 (0)