diff --git a/Makefile b/Makefile index 743bbaa03..959f427f8 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,6 @@ -.PHONY = all deps test tmux +version ?= next + +.PHONY = all deps publish test tmux all: deps @@ -13,3 +15,11 @@ tmux: deps node_modules/: package.json packages/*/package.json pnpm install + +publish: + npm run all:clean + git nb 'v$(version)' + npm version '$(version)' + npm run all:publish + git push + git push --tags