File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,12 +68,19 @@ jobs:
6868 echo "CommitsSinceVersionSource: ${{ steps.gitversion.outputs.commitsSinceVersionSource }}"
6969 echo "CommitsSinceVersionSourcePadded: ${{ steps.gitversion.outputs.commitsSinceVersionSourcePadded }}"
7070 echo "CommitDate: ${{ steps.gitversion.outputs.commitDate }}"
71+ - name : Tag Repo Prerelease
72+ if : ${{ steps.gitversion.outputs.branchName != 'master' && steps.gitversion.outputs.branchName != 'main' }}
73+ uses : richardsimko/update-tag@v1
74+ with :
75+ tag_name : ${{ steps.gitversion.outputs.majorMinorPatch }}
76+ env :
77+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7178 - name : Tag Repo
7279 if : ${{ steps.gitversion.outputs.branchName == 'master' || steps.gitversion.outputs.branchName == 'main' }}
7380 uses : richardsimko/update-tag@v1
7481 with :
7582 tag_name : ${{ steps.gitversion.outputs.majorMinorPatch }}
76- env : test
83+ env :
7784 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7885 - name : Pack PreRelease
7986 if : ${{ steps.gitversion.outputs.branchName != 'master' && steps.gitversion.outputs.branchName != 'main' }}
You can’t perform that action at this time.
0 commit comments