Permalink
Browse files

Using 'npm version' now. No need for 'make version'

  • Loading branch information...
1 parent eba69b5 commit ca69133ae5234bb3010f7d5ce2e621562ac1a6b4 @isaacs isaacs committed Jul 12, 2012
Showing with 1 addition and 7 deletions.
  1. +1 −7 Makefile
View
@@ -101,16 +101,10 @@ man: $(cli_docs) $(api_docs)
test:
node cli.js test
-version: link
- git add package.json &&\
- git ci -m v$(shell npm -v)
-
publish: link doc
- @git tag -d v$(shell npm -v) || true
@git push origin :v$(shell npm -v) || true
@npm unpublish npm@$(shell npm -v) || true
git clean -fd
- git tag -s -m v$(shell npm -v) v$(shell npm -v) &&\
git push origin --tags &&\
npm publish &&\
npm tag npm@$(shell npm -v) $(shell npm -v | awk -F. '{print $$1 "." $$2}') &&\
@@ -131,6 +125,6 @@ release:
@bash scripts/release.sh
sandwich:
- @[ $$(whoami) = "root" ] && (echo "ok"; echo "ham" > sandwich) || echo "make it yourself"
+ @[ $$(whoami) = "root" ] && (echo "ok"; echo "ham" > sandwich) || echo "make it yourself" && exit 13
.PHONY: all latest install dev link doc clean uninstall test man doc-publish doc-clean docclean docpublish release zip-publish

0 comments on commit ca69133

Please sign in to comment.