From f70dd4a562798ae045d0834636cc17019a2a6395 Mon Sep 17 00:00:00 2001 From: Andrew Miner Date: Tue, 5 Apr 2016 18:17:28 -0700 Subject: [PATCH] Update publish script to push new version --- scripts/publish | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/publish b/scripts/publish index 2ffa65c9a..0b2b751be 100755 --- a/scripts/publish +++ b/scripts/publish @@ -11,4 +11,5 @@ while [[ "$VERSION_TYPE" != "major" && "$VERSION_TYPE" != "minor" && "$VERSION_T done npm version "$VERSION_TYPE" || die "Invalid version type: $VERSION_TYPE" -npm publish +npm publish || die "Could not publish to NPM" +git push || die "Could not push updated version to GitHub"