stripe-ruby/Makefile
pakrym-stripe 020328bf27
Support updating pre-release versions (#1074)
* Support updating pre-release versions

* Update Makefile
2022-06-15 16:20:22 -07:00

8 lines
237 B
Makefile

.PHONY: update-version codegen-format
update-version:
@echo "$(VERSION)" > VERSION
@perl -pi -e 's|VERSION = "[.\-\w\d]+"|VERSION = "$(VERSION)"|' lib/stripe/version.rb
codegen-format:
bundle exec rubocop -o /dev/null --auto-correct