Skip to content
This repository was archived by the owner on Feb 8, 2024. It is now read-only.

Commit 2a2d852

Browse files
author
Julien Bouquillon
authored
fix: test
1 parent bb224a8 commit 2a2d852

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ jobs:
3030
- name: Push updates to branch for major version
3131
if: steps.semantic.outputs.new_release_published == 'true'
3232
run: |
33-
git push https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git HEAD:refs/heads/v${{steps.semantic.outputs.new_release_major_version}}
34-
git push origin :refs/tags/v${{steps.semantic.outputs.new_release_major_version}}
35-
git tag --force v${{steps.semantic.outputs.new_release_major_version}}
36-
git push origin v${{steps.semantic.outputs.new_release_major_version}}
33+
git push -f origin HEAD:refs/heads/v${{steps.semantic.outputs.new_release_major_version}}
34+
git push -f origin :refs/tags/v${{steps.semantic.outputs.new_release_major_version}}
35+
git tag -f v${{steps.semantic.outputs.new_release_major_version}}
36+
git push -f origin v${{steps.semantic.outputs.new_release_major_version}}
3737
env:
3838
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)