Skip to content

Commit

Permalink
Support updating pre-release versions (#1307)
Browse files Browse the repository at this point in the history
  • Loading branch information
pakrym-stripe authored Jun 15, 2022
1 parent e56fc31 commit 0772825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ phpstan-baseline: vendor/bin/phpstan

update-version:
@echo "$(VERSION)" > VERSION
@perl -pi -e 's|VERSION = '\''[.\d]+'\''|VERSION = '\''$(VERSION)'\''|' lib/Stripe.php
@perl -pi -e 's|VERSION = '\''[.\-\w\d]+'\''|VERSION = '\''$(VERSION)'\''|' lib/Stripe.php
.PHONY: update-version

codegen-format: fmt
Expand Down

0 comments on commit 0772825

Please sign in to comment.