diff options
author | Forrest L Norvell <forrest@npmjs.com> | 2014-08-15 06:15:30 +0400 |
---|---|---|
committer | Forrest L Norvell <forrest@npmjs.com> | 2014-08-15 06:39:39 +0400 |
commit | 5abce1bd390ffec231a77286139f7800f23d9d8f (patch) | |
tree | 64a69c795c2aec9bf2b6bddfd4385882a2745a0a /Makefile | |
parent | f23f1d8e8f86ec1b7ab8dad68250bccaa67d61b1 (diff) |
build: explicitly push to a branch
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2,6 +2,7 @@ SHELL = bash PUBLISHTAG = $(shell node scripts/publish-tag.js) +BRANCH = $(shell git rev-parse --abbrev-ref HEAD) markdowns = $(shell find doc -name '*.md' | grep -v 'index') README.md @@ -178,7 +179,7 @@ tag: publish: link doc @git push origin :v$(shell npm -v) 2>&1 || true git clean -fd &&\ - git push origin &&\ + git push origin $(BRANCH) &&\ git push origin --tags &&\ npm publish --tag=$(PUBLISHTAG) |