We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ca38d8 commit 4fb6106Copy full SHA for 4fb6106
1 file changed
Makefile
@@ -3,6 +3,10 @@ git_branch := $(shell git rev-parse --abbrev-ref HEAD)
3
4
.PHONY: test release
5
6
+ifndef NPM_VERSION
7
+ export NPM_VERSION=patch
8
+endif
9
+
10
install:
11
npm install
12
@@ -14,8 +18,9 @@ test: install eslint
14
18
@$(shell npm bin)/mocha tests/*-tests.js
15
19
16
20
npm.publish:
21
+ echo "building ${NPM_VERSION}"
17
22
git pull --tags
- npm version patch
23
+ npm version ${NPM_VERSION}
24
git push origin $(git_branch) && git push --tags
25
npm publish --access public
26
0 commit comments