Skip to content

Commit f742077

Browse files
committed
Not including compiled javascript is not a good idea
1 parent c89817e commit f742077

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.npmignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.gitignore
2+
lib/.placeholder
3+
VERSION-GEN

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,19 @@ serve:
1010
sleep 0.1; \
1111
done
1212

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+
1319
RVER:=$(shell grep "version" package.json|tr '\t"' ' \t'|cut -f 4)
1420
VER:=$(shell ./VERSION-GEN)
1521

1622
.PHONY: tag
1723
tag: all
1824
-git tag -d v$(RVER)
19-
git commit package.json -m "Release $(RVER)"
25+
git commit $(TAG_OPTS) package.json -m "Release $(RVER)"
2026
git tag -a v$(RVER) -m "Release $(RVER)"
2127
@echo ' [*] Now run'
2228
@echo 'git push; git push --tag'

0 commit comments

Comments
 (0)