Skip to content

Commit

Permalink
Push release commit and tag before creating release
Browse files Browse the repository at this point in the history
  • Loading branch information
bdaily-stripe committed Jan 7, 2025
1 parent f93c985 commit d31470f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/publish
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,15 @@ yarn version --$RELEASE_TYPE
echo "Building"
yarn run build

create_github_release
verify_commit_is_signed

echo "Pushing git commit and tag"
git push --follow-tags

# Create release after commit and tag are pushed to ensure package.json
# is bumped in the GitHub release.
create_github_release

echo "Publishing release"
yarn --ignore-scripts publish --non-interactive --access=public

Expand Down

0 comments on commit d31470f

Please sign in to comment.