Skip to content
Browse files

Do a git-clean when publishing

  • Loading branch information...
1 parent 7610c37 commit 9fec6da907aa2649dbef6b48a02525eef6c7ebdc @isaacs isaacs committed Jan 13, 2012
Showing with 4 additions and 3 deletions.
  1. +4 −3 Makefile
View
7 Makefile
@@ -106,9 +106,10 @@ version: link
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 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 &&\

0 comments on commit 9fec6da

Please sign in to comment.
Something went wrong with that request. Please try again.