Skip to content

Commit c0bb046

Browse files
committed
Fix deploy.sh: push commit and tag separately for CI
1 parent 1b2811c commit c0bb046

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

deploy.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,10 @@ echo "Committing and tagging..."
7474
git add -A
7575
git commit -m "v$NEW_VERSION$DESCRIPTION"
7676
git tag "v$NEW_VERSION"
77-
git push origin main --tags
77+
# Push commit first, then tag separately — pushing together causes
78+
# GitHub Actions to fire only the branch event, skipping the publish job.
79+
git push origin main
80+
git push origin "v$NEW_VERSION"
7881

7982
echo ""
8083
echo "=== v$NEW_VERSION pushed ==="

0 commit comments

Comments
 (0)