Skip to content

Commit

Permalink
Add support for updating the version of the repo (#1393)
Browse files Browse the repository at this point in the history
  • Loading branch information
pakrym-stripe committed Apr 12, 2022
1 parent 08d2e9f commit 09e0dcc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.PHONY: codegen-format update-version
update-version:
@echo "$(VERSION)" > VERSION
@perl -pi -e 's|"version": "[.\d]+"|"version": "$(VERSION)"|' package.json

codegen-format:
yarn && yarn fix

0 comments on commit 09e0dcc

Please sign in to comment.