We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 488c5b6 + ba69cb6 commit 868142cCopy full SHA for 868142c
Makefile
@@ -1,5 +1,6 @@
1
ISTANBUL = node_modules/.bin/istanbul
2
UGLIFYJS = node_modules/.bin/uglifyjs
3
+XYZ = node_modules/.bin/xyz --message X.Y.Z --tag X.Y.Z
4
5
SRC = base64.js
6
MIN = $(patsubst %.js,%.min.js,$(SRC))
@@ -22,6 +23,15 @@ clean:
22
23
rm -f -- $(MIN)
24
25
26
+.PHONY: release-major release-minor release-patch
27
+release-major:
28
+ $(XYZ) --increment major
29
+release-minor:
30
+ $(XYZ) --increment minor
31
+release-patch:
32
+ $(XYZ) --increment patch
33
+
34
35
.PHONY: setup
36
setup:
37
npm install
package.json
@@ -16,6 +16,7 @@
16
"coffee-script": "1.7.x",
17
"istanbul": "0.2.x",
18
"mocha": "1.18.x",
19
- "uglify-js": "2.4.x"
+ "uglify-js": "2.4.x",
20
+ "xyz": "0.1.x"
21
}
0 commit comments