Skip to content

Commit

Permalink
add git tags to make publish #10
Browse files Browse the repository at this point in the history
  • Loading branch information
sebmck committed Oct 10, 2014
1 parent 88b5cb5 commit d52103c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Makefile
Expand Up @@ -8,12 +8,12 @@ export NODE_ENV = test
clean:
rm -rf coverage templates.json test/tmp dist

test:
$(MOCHA_CMD)

bench:
node node_modules/matcha/bin/_matcha

test:
$(MOCHA_CMD)

test-cov:
rm -rf coverage
node $(ISTANBUL_CMD) $(MOCHA_CMD) --
Expand All @@ -39,6 +39,8 @@ build:

publish:
rm -rf node_modules

git pull --rebase
npm install

node bin/cache-templates
Expand All @@ -47,6 +49,7 @@ publish:
test -f templates.json
npm publish

# todo - auto-create tag
git tag "v`6to5 -V`"
git push --tags

rm -rf templates.json

0 comments on commit d52103c

Please sign in to comment.