diff --git a/.versionrc.json b/.versionrc.json new file mode 100644 index 0000000..58d8dd8 --- /dev/null +++ b/.versionrc.json @@ -0,0 +1,8 @@ +{ + "bumpFiles": [ + { + "filename": "VERSION", + "type": "plain-text" + } + ] +} diff --git a/Makefile b/Makefile index 281cd6e..7e0296c 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,16 @@ default: vendor +.PHONY: new-version +new-version: + $(if $(shell which npx),,\ + $(error No npx not found in PATH, please install NodeJS)) + $(if $(shell which standard-version),,\ + $(error No standard-version not found in PATH, install with: \ + npm install -g standard-version)) + + npx standard-version + # # Functions.