chore(makefile): add Makefile with release helper targets

This commit is contained in:
2022-10-24 22:53:48 +01:00
parent 9b0023158c
commit 1d09a2a7ab
2 changed files with 15 additions and 0 deletions

3
.versionrc.json Normal file
View File

@@ -0,0 +1,3 @@
{
"tagPrefix": ""
}

12
Makefile Normal file
View File

@@ -0,0 +1,12 @@
.PHONY: new-version
new-version: check-npx
npx standard-version
.PHONY: next-version
next-version: check-npx
npx standard-version --dry-run
.PHONY: check-npx
check-npx:
$(if $(shell which npx),,\
$(error No npx execuable found in PATH, please install NodeJS))