Skip to content

Commit c1bb2dc

Browse files
[post-release] bump version to 0.40.0 (#1777)
* bump version * update script
1 parent b1d6ab0 commit c1bb2dc

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stripe/stripe-react-native",
3-
"version": "0.39.0",
3+
"version": "0.40.0",
44
"author": "Stripe",
55
"description": "Stripe SDK for React Native",
66
"main": "lib/commonjs/index",

scripts/publish

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,16 +131,19 @@ yarn -s install --frozen-lockfile
131131
echo "Running tests"
132132
yarn -s run test
133133

134+
git checkout -b release-branch-$RANDOM
135+
134136
echo "Bumping package.json $RELEASE_TYPE version and tagging commit"
135-
yarn -s version --$RELEASE_TYPE
137+
yarn -s version --"$RELEASE_TYPE"
136138

137139
echo "Publishing release"
138140
yarn -s --ignore-scripts publish --non-interactive --access=public
141+
echo "Published to npm!"
139142

140143
echo "Pushing git commit and tag"
141144
git push --follow-tags
142145

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

146149
create_github_release

0 commit comments

Comments
 (0)