Skip to content

Commit 359ffc4

Browse files
committed
add Github release step
1 parent 4e15ef1 commit 359ffc4

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

azure-pipelines.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,17 @@ steps:
4141
inputs:
4242
filePath: 'Publish-ToPSGallery.ps1'
4343
arguments: '-nuGetApiKey $(PSGallery_PAT) -moduleVersion $(Build.SemVerId)'
44-
displayName: Publish-ToPSGallery.ps1
44+
displayName: Publish-ToPSGallery.ps1
45+
46+
- task: GitHubRelease@1
47+
inputs:
48+
gitHubConnection: 'Github Repos'
49+
repositoryName: '$(Build.Repository.Name)'
50+
action: 'create'
51+
target: '$(Build.SourceVersion)'
52+
tagSource: 'userSpecifiedTag'
53+
tag: '$(Build.SemVerId)'
54+
title: 'Version $(Build.SemVerId)'
55+
releaseNotesFilePath: 'README.md'
56+
changeLogCompareToRelease: 'lastFullRelease'
57+
changeLogType: 'commitBased'

0 commit comments

Comments
 (0)