Update release workflow to push changes to the main branch using HEAD reference instead of a direct branch name, improving compatibility with various Git configurations.

This commit is contained in:
Luke Hagar
2025-09-26 21:05:38 +00:00
parent d34e24583b
commit bc5d780c42

View File

@@ -117,7 +117,7 @@ jobs:
git config --local user.name "GitHub Action"
git add package.json
git commit -m "chore: auto-bump version to ${{ steps.bump-version.outputs.version }}"
git push origin main
git push origin HEAD:main
# Create a git tag like v1.2.3 if it doesn't already exist
- name: Create tag if missing