mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
chore: Add support for standard-version to cutting new versions
This commit is contained in:
8
.versionrc.json
Normal file
8
.versionrc.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bumpFiles": [
|
||||
{
|
||||
"filename": "VERSION",
|
||||
"type": "plain-text"
|
||||
}
|
||||
]
|
||||
}
|
||||
10
Makefile
10
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.
|
||||
|
||||
Reference in New Issue
Block a user