Skip to content

Commit

Permalink
Prinitng Tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajeev Pentyala committed Oct 14, 2024
1 parent 12d3b57 commit 534a230
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Pipelines/Templates/create-release-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,14 +229,20 @@ steps:
}
}
- task: PowerShell@2
displayName: 'Log the Tag Value'
inputs:
targetType: 'inline'
script: |
Write-Host "Tag value: $(Tag)"
- task: GitHubRelease@1
inputs:
gitHubConnection: ${{ parameters.connectionName }}
tagSource: 'userSpecifiedTag'
tag: $(Tag)
tag: $(Tag) # Ensure this matches an existing tag in the repo
title: $(Title)
releaseNotesFilePath: '$(ReleaseNotesPath)'
addChangeLog: false #The OOB changelog doesn't allow for filtering based on milestone so we created our own changelog above
addChangeLog: false
isDraft: ${{ parameters.isDraft }}
isPreRelease: ${{ parameters.isPreRelease }}
assets: |
Expand Down

0 comments on commit 534a230

Please sign in to comment.