chore: Add support for standard-version to cutting new versions

This commit is contained in:
2020-05-04 21:23:00 +01:00
parent 5abaffd9fe
commit 86d344f671
2 changed files with 18 additions and 0 deletions

8
.versionrc.json Normal file
View File

@@ -0,0 +1,8 @@
{
"bumpFiles": [
{
"filename": "VERSION",
"type": "plain-text"
}
]
}

View File

@@ -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.