File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,8 @@ extends:
4646 - script : |
4747 git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
4848 git config user.name "Azure Piplines"
49- git fetch --depth 1 origin main
50- git tag -a $(releaseVersionWithPrefix) -m "Release $(releaseVersionWithPrefix)" origin/main
49+ git fetch --depth 1 origin $(Build.SourceBranchName)
50+ git tag -a $(releaseVersionWithPrefix) -m "Release $(releaseVersionWithPrefix)" origin/$(Build.SourceBranchName)
5151 git push origin $(releaseVersionWithPrefix)
5252 displayName: Create git tag
5353
@@ -74,7 +74,7 @@ extends:
7474 gitHubConnection : GitHub-sarif-tools
7575 repositoryName : debonte/sarif-tools
7676 action : create
77- target : main
77+ target : $(Build.SourceBranchName)
7878 title : $(releaseVersionWithPrefix)
7979 tag : $(releaseVersionWithPrefix)
8080 tagSource : userSpecifiedTag
You can’t perform that action at this time.
0 commit comments