Skip to content

Commit 40e0e8e

Browse files
Add github release task to build-product.yml (#109)
* Add release task * Change trigger tag
1 parent 72e9ac1 commit 40e0e8e

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

build/azure-pipelines/build-product.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
trigger:
22
tags:
33
include:
4-
- v0.*
4+
- v*
55

66
pr: none
77

@@ -168,4 +168,14 @@ stages:
168168
inputs:
169169
targetPath: $(Build.ArtifactStagingDirectory)
170170
artifactName: SqlcmdRelease
171-
171+
172+
- task: GitHubRelease@1
173+
inputs:
174+
gitHubConnection: 'gosqlcmd_github'
175+
repositoryName: '$(Build.Repository.Name)'
176+
action: 'create'
177+
target: '$(Build.SourceVersion)'
178+
tagSource: 'userSpecifiedTag'
179+
tag: '$(VERSION_TAG)'
180+
changeLogCompareToRelease: 'lastFullRelease'
181+
changeLogType: 'commitBased'

0 commit comments

Comments
 (0)