dotfiles/.vscode/extensions/saviorisdead.RustyCode-0.18.0/node_modules/is/Makefile

18 lines
330 B
Makefile
Raw Normal View History

2016-09-11 09:29:13 +01:00
.PHONY: verify-tag release
default: release
verify-tag:
ifndef TAG
$(error TAG is undefined)
endif
release: verify-tag
@ OLD_TAG=`git describe --abbrev=0 --tags` && \
npm run minify && \
replace "$${OLD_TAG/v/}" "$(TAG)" -- *.json README.md && \
git commit -m "v$(TAG)" *.js *.json README.md && \
git tag "v$(TAG)"