mirror of https://github.com/jkjoy/sunpeiwen.git
19 lines
312 B
Makefile
19 lines
312 B
Makefile
|
SHELL := /bin/bash
|
||
|
|
||
|
release-major: test
|
||
|
npm version major -m "Release %s"
|
||
|
git push
|
||
|
npm publish
|
||
|
|
||
|
release-minor: test
|
||
|
npm version minor -m "Release %s"
|
||
|
git push
|
||
|
npm publish
|
||
|
|
||
|
release-patch: test
|
||
|
npm version patch -m "Release %s"
|
||
|
git push
|
||
|
npm publish
|
||
|
|
||
|
.PHONY: test release-major release-minor release-patch
|