Skip to content

Commit

Permalink
Push release commit and tag before creating release (#560)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdaily-stripe authored Jan 21, 2025
1 parent 754cf1e commit 0813463
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 @@ -187,12 +187,15 @@ fi
echo "Building"
yarn -s 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 0813463

Please sign in to comment.