diff --git a/Makefile b/Makefile index 886733875..04a4dce9c 100644 --- a/Makefile +++ b/Makefile @@ -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