Skip to content

Commit 48900df

Browse files
Kamalpreet Kaurclaude
andcommitted
Push the bump branch and tag with git push --follow-tags
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent b3bbb5b commit 48900df

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎.github/workflows/publish.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,5 @@ jobs:
5050
run: |
5151
version=$(node -p 'require("./package.json").version')
5252
branch="release-v$version-$(date +%s)"
53-
git push origin "v$version"
54-
git push origin "HEAD:refs/heads/$branch"
53+
git push --follow-tags origin "HEAD:refs/heads/$branch"
5554
echo "Open the version bump PR: $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/compare/master...$branch?expand=1" | tee -a "$GITHUB_STEP_SUMMARY"

0 commit comments

Comments
 (0)