From 41777ce412607cde4e9caa6b47f83ba098c997cf Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Wed, 15 Jun 2022 16:05:23 -0700 Subject: [PATCH] Support updating pre-release versions --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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