diff options
author | isaacs <i@izs.me> | 2012-01-06 05:47:46 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-01-06 05:47:46 +0400 |
commit | 335b387dcd8fd926eec4cfd11207a0c649c2f1c4 (patch) | |
tree | d18a98f20f9e5f0435acf067a681fd57b801b075 /Makefile | |
parent | 66c7eb98541c2b9d89fae636052407e072191e5a (diff) |
Fix 'make publish'
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -109,10 +109,13 @@ 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 -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}') &&\ + npm tag npm@$(shell npm -v) $(shell npm -v | awk -F. '{print $$1 "." $$2}') &&\ make doc-publish &&\ make zip-publish |