Skip to content

Commit 8f51675

Browse files
Copilotlpcox
andauthored
fix: push only tag in release workflow to avoid branch protection violation (#1258)
* Initial plan * fix: push only tag in release workflow to avoid branch protection violation Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
1 parent 0aff975 commit 8f51675

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
git add package.json package-lock.json
6161
git commit -m "$VERSION"
6262
git tag "v$VERSION"
63-
git push origin HEAD --tags
63+
git push origin "v$VERSION"
6464
6565
echo "version=v$VERSION" >> $GITHUB_OUTPUT
6666
echo "version_number=$VERSION" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)