Skip to content

Commit

Permalink
Add git switch and fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
UX3D-haertl committed Sep 3, 2024
1 parent d8ee3d4 commit 9f327a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/Publish_to_NPM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ jobs:
git checkout -b release/${{ github.event.release.tag_name }}
git commit -m "Bump version to ${{ github.event.release.tag_name }}"
git tag -f ${{ github.event.release.tag_name }}
git checkout main
git fetch
git switch main
git rebase release/${{ github.event.release.tag_name }}
git push
git push origin -f ${{ github.event.release.tag_name }}
Expand Down

0 comments on commit 9f327a7

Please sign in to comment.