mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-03 00:01:21 -04:00
Support updating pre-release versions (#1074)
* Support updating pre-release versions * Update Makefile
This commit is contained in:
parent
f2e05a20b2
commit
020328bf27
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
||||
.PHONY: update-version codegen-format
|
||||
update-version:
|
||||
@echo "$(VERSION)" > VERSION
|
||||
@perl -pi -e 's|VERSION = "[.\d]+"|VERSION = "$(VERSION)"|' lib/stripe/version.rb
|
||||
@perl -pi -e 's|VERSION = "[.\-\w\d]+"|VERSION = "$(VERSION)"|' lib/stripe/version.rb
|
||||
|
||||
codegen-format:
|
||||
bundle exec rubocop -o /dev/null --auto-correct
|
||||
|
Loading…
x
Reference in New Issue
Block a user