Skip to content

Commit

Permalink
Should tag source branch since that's what is built
Browse files Browse the repository at this point in the history
  • Loading branch information
debonte committed Sep 18, 2024
1 parent 3392f3b commit 78485ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions azure-pipelines/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ extends:
- script: |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config user.name "Azure Piplines"
git fetch --depth 1 origin main
git tag -a $(releaseVersionWithPrefix) -m "Release $(releaseVersionWithPrefix)" origin/main
git fetch --depth 1 origin $(Build.SourceBranchName)
git tag -a $(releaseVersionWithPrefix) -m "Release $(releaseVersionWithPrefix)" origin/$(Build.SourceBranchName)
git push origin $(releaseVersionWithPrefix)
displayName: Create git tag
Expand All @@ -74,7 +74,7 @@ extends:
gitHubConnection: GitHub-sarif-tools
repositoryName: debonte/sarif-tools
action: create
target: main
target: $(Build.SourceBranchName)
title: $(releaseVersionWithPrefix)
tag: $(releaseVersionWithPrefix)
tagSource: userSpecifiedTag
Expand Down

0 comments on commit 78485ff

Please sign in to comment.