We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e7fd92 commit 26d13f2Copy full SHA for 26d13f2
1 file changed
Makefile
@@ -1,4 +1,4 @@
1
-.PHONY: install build test test-watch lint fmt clean publish
+.PHONY: install build test test-watch lint fmt clean release-patch release-minor release-major publish
2
3
install:
4
npm install
@@ -21,5 +21,17 @@ fmt:
21
clean:
22
rm -rf dist node_modules
23
24
+release-patch:
25
+ npm version patch -m "release: %s"
26
+ git push --follow-tags
27
+
28
+release-minor:
29
+ npm version minor -m "release: %s"
30
31
32
+release-major:
33
+ npm version major -m "release: %s"
34
35
36
publish:
37
npm publish
0 commit comments