From ae245c7a862f033202503aa7e5bf167f1d7d348f Mon Sep 17 00:00:00 2001 From: Andrew Miner Date: Mon, 16 Nov 2015 21:46:20 -0800 Subject: [PATCH] Update publish script --- scripts/publish | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/publish b/scripts/publish index 3bea702c3..a7b04ece6 100755 --- a/scripts/publish +++ b/scripts/publish @@ -13,7 +13,8 @@ fi npm version "$VERSION_TYPE" || die "Invalid version type: $VERSION_TYPE" npm publish -git checkout production \ +git push \ + && git checkout production \ && git rebase master \ && git push \ && git checkout master \