diff --git a/scripts/publish.js b/scripts/publish.js index 32544b4346..71938f7d8e 100755 --- a/scripts/publish.js +++ b/scripts/publish.js @@ -184,7 +184,7 @@ function publish() { done(); }); }; - }), 4, function (err) { + }), 1, function (err) { onError(err); ship(); }); @@ -205,7 +205,7 @@ function ship() { execSync("npm dist-tag rm " + name + " prerelease", true); execSync("npm dist-tag add " + name + "@" + NEW_VERSION + " stable"); }; - }), 4, function (err) { + }), 1, function (err) { onError(err); execSync("git push", true); execSync("git push --tags", true);