commit | a03d57cdbdf1a92b2766324b9b44a43be3dd40d7 | [log] [tgz] |
---|---|---|
author | Tom Hu <tomhu1096@gmail.com> | Mon Dec 21 09:05:03 2020 -0500 |
committer | Tom Hu <tomhu1096@gmail.com> | Mon Dec 21 09:05:03 2020 -0500 |
tree | 438e95585327ade188d9bbaa847fa74cd77dfbdf | |
parent | 1fc7722ded4708880a5aea49f2bfafb9336f0c8d [diff] |
Actually have a makefile
diff --git a/Makefile b/Makefile index e69de29..109980d 100644 --- a/Makefile +++ b/Makefile
@@ -0,0 +1,7 @@ +deploy: + $(eval VERSION := $(shell cat package.json | grep '"version": ' | cut -d\" -f4)) + git tag -d v1 + git push origin :v1 + git tag v1 + git tag v$(VERSION) -m "" + git push origin --tags