Skip to content

Commit 999c0c1

Browse files
committed
Updating pipelines
1 parent 3bf3622 commit 999c0c1

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff 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' }}

0 commit comments

Comments
 (0)