Skip to content

Commit

Permalink
Create GH releases on production build
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaTheMiller committed Aug 16, 2021
1 parent 7a2ea06 commit 360597e
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,18 @@ stages:
publishLocation: pipeline
targetPath: '$(publishProd.Extension.OutputPath)'
artifact: 'prod'
condition: succeededOrFailed()
condition: succeededOrFailed()
- task: GitHubRelease@1
inputs:
gitHubConnection: 'GitHub-CloudPup'
repositoryName: '$(Build.Repository.Name)'
action: 'create'
target: '$(Build.SourceVersion)'
tagSource: 'userSpecifiedTag'
tag: 'v$(Build.BuildNumber)'
title: 'v$(Build.BuildNumber)'
releaseNotesSource: 'inline'
assets: '$(publishProd.Extension.OutputPath)*'
changeLogCompareToRelease: 'lastFullRelease'
changeLogType: 'issueBased'
changeLogLabels: '[{ "state" : "closed" }]'

0 comments on commit 360597e

Please sign in to comment.