Skip to content

Commit 86f997e

Browse files
committed
Fix release information
1 parent f08c94f commit 86f997e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

azure-pipelines.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,11 +226,13 @@ steps:
226226

227227
- task: GithubRelease@1
228228
displayName: 'Create GitHub Release'
229-
condition: and(succeeded(), ne(variables['package_count'],0))
229+
condition: and(succeeded(), eq(variables['push_packages'], 'True'))
230230
inputs:
231231
gitHubConnection: github-czemacleod
232232
repositoryName: CZEMacLeod/MSBuild.SDK.SystemWeb
233233
assets: $(Build.ArtifactStagingDirectory)/*.nupkg
234+
tagSource: userSpecifiedTag
235+
tag: v$(Build.BuildNumber)
234236
addChangeLog: true
235237
releaseNotesSource: filePath
236238
releaseNotesFilePath: $(Build.ArtifactStagingDirectory)/ReleaseNotes.md

0 commit comments

Comments
 (0)