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 \