diff options
author | isaacs <i@izs.me> | 2012-01-13 23:20:47 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-01-13 23:20:47 +0400 |
commit | 9fec6da907aa2649dbef6b48a02525eef6c7ebdc (patch) | |
tree | c4ec527d218776bc3cfecbd49d6eb7c9081fbe92 /Makefile | |
parent | 7610c379e68895905c6b8e91fca37a980931f62e (diff) |
Do a git-clean when publishing
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 &&\ |