mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
feat(makefile): add next-version target to preview next version and changelog
This commit is contained in:
22
Makefile
22
Makefile
@@ -4,12 +4,6 @@
|
||||
|
||||
default: vendor
|
||||
|
||||
.PHONY: new-version
|
||||
new-version:
|
||||
$(if $(shell which npx),,\
|
||||
$(error No npx found in PATH, please install NodeJS))
|
||||
npx standard-version
|
||||
|
||||
#
|
||||
# Functions.
|
||||
#
|
||||
@@ -48,3 +42,19 @@ vendor: $(VENDORED)
|
||||
update_vendor: $(foreach file,$(VENDORED),update_$(file))
|
||||
remove_vendor: $(foreach file,$(VENDORED),remove_$(file))
|
||||
|
||||
#
|
||||
# Release
|
||||
#
|
||||
|
||||
.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))
|
||||
|
||||
Reference in New Issue
Block a user