Skip to content

Commit

Permalink
[post-release] bump version to 0.40.0 (#1777)
Browse files Browse the repository at this point in the history
* bump version

* update script
  • Loading branch information
charliecruzan-stripe authored Nov 21, 2024
1 parent b1d6ab0 commit c1bb2dc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stripe/stripe-react-native",
"version": "0.39.0",
"version": "0.40.0",
"author": "Stripe",
"description": "Stripe SDK for React Native",
"main": "lib/commonjs/index",
Expand Down
7 changes: 5 additions & 2 deletions scripts/publish
Original file line number Diff line number Diff line change
Expand Up @@ -131,16 +131,19 @@ yarn -s install --frozen-lockfile
echo "Running tests"
yarn -s run test

git checkout -b release-branch-$RANDOM

echo "Bumping package.json $RELEASE_TYPE version and tagging commit"
yarn -s version --$RELEASE_TYPE
yarn -s version --"$RELEASE_TYPE"

echo "Publishing release"
yarn -s --ignore-scripts publish --non-interactive --access=public
echo "Published to npm!"

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

echo "Publish successful!"
echo "Tag pushed! Please open a PR for your version bump: https://github.com/stripe/stripe-react-native/pulls"
echo ""

create_github_release

0 comments on commit c1bb2dc

Please sign in to comment.