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.
1 parent c89817e commit f742077Copy full SHA for f742077
.npmignore
@@ -0,0 +1,3 @@
1
+.gitignore
2
+lib/.placeholder
3
+VERSION-GEN
Makefile
@@ -10,13 +10,19 @@ serve:
10
sleep 0.1; \
11
done
12
13
+# Release process:
14
+# 1) commit everything
15
+# 2) amend version in package.json
16
+# 3) run 'make tag' and run suggested 'git push' variants
17
+# 4) run 'npm publish'
18
+
19
RVER:=$(shell grep "version" package.json|tr '\t"' ' \t'|cut -f 4)
20
VER:=$(shell ./VERSION-GEN)
21
22
.PHONY: tag
23
tag: all
24
-git tag -d v$(RVER)
- git commit package.json -m "Release $(RVER)"
25
+ git commit $(TAG_OPTS) package.json -m "Release $(RVER)"
26
git tag -a v$(RVER) -m "Release $(RVER)"
27
@echo ' [*] Now run'
28
@echo 'git push; git push --tag'
0 commit comments