Skip to content
Snippets Groups Projects
Makefile 268 B
VERSION=$(shell git rev-parse --short HEAD)
.PHONY: release

release:
	$(eval version:=$(shell cat package.json | jq -r .version))
	echo $(version)
	git commit package.json package-lock.json -m "Version $(version)"
	git tag $(version)
	git push origin main $(version)