From 09e0dcc60a8e3f5cae81b4f3c8681861fa2a6781 Mon Sep 17 00:00:00 2001 From: pakrym-stripe <99349468+pakrym-stripe@users.noreply.github.com> Date: Tue, 12 Apr 2022 16:07:50 -0700 Subject: [PATCH] Add support for updating the version of the repo (#1393) --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000..5b61772876 --- /dev/null +++ b/Makefile @@ -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