Skip to content

Commit 3fcd5f1

Browse files
committed
fix: push tag to current branch
1 parent de43a50 commit 3fcd5f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ jobs:
7676
- name: Create and push Git tag release
7777
run: |
7878
git tag ${{ needs.build-project.outputs.version }}
79-
git push origin main
80-
git push origin main --tags
79+
git push origin ${{ github.ref_name }}
80+
git push origin ${{ github.ref_name }} --tags
8181
8282
- name: Create GitHub Release
8383
id: create_release

0 commit comments

Comments
 (0)