Skip to content

Commit

Permalink
Update version in builds (#1716)
Browse files Browse the repository at this point in the history
* Update version in builds

* make update-version
  • Loading branch information
anniel-stripe committed Mar 17, 2023
1 parent 3259b2b commit 145b708
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -2,7 +2,7 @@
update-version:
@echo "$(VERSION)" > VERSION
@perl -pi -e 's|"version": "[.\-\d\w]+"|"version": "$(VERSION)"|' package.json
@perl -pi -e "s|Stripe.PACKAGE_VERSION = '[.\-\d\w]+'|Stripe.PACKAGE_VERSION = '$(VERSION)'|" src/stripe.core.ts
@perl -pi -e "s|Stripe.PACKAGE_VERSION = '[.\-\d\w]+'|Stripe.PACKAGE_VERSION = '$(VERSION)'|" src/stripe.core.ts cjs/stripe.core.js esm/stripe.core.js

codegen-format:
yarn && yarn fix && yarn build
2 changes: 1 addition & 1 deletion cjs/stripe.core.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion esm/stripe.core.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 145b708

Please sign in to comment.