diff options
author | Rod Vagg <rod@vagg.org> | 2018-11-27 20:19:29 +1100 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2018-11-30 21:23:01 -0800 |
commit | f34ca9f783ec84391f22728fc150d7b7cc294968 (patch) | |
tree | 62b99afe7bd6a15b3cad646baa8d593be3733207 /tools/release.sh | |
parent | 84c2157a6081d67c88590e21831cb198fbd146bd (diff) | |
download | node-new-f34ca9f783ec84391f22728fc150d7b7cc294968.tar.gz |
tools: only sign release if promotion successful
Ref: https://github.com/nodejs/build/pull/1596
PR-URL: https://github.com/nodejs/node/pull/24669
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'tools/release.sh')
-rwxr-xr-x | tools/release.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/release.sh b/tools/release.sh index c828162f0c..3ef503a08a 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -202,7 +202,9 @@ for version in $versions; do ssh ${customsshkey} ${webuser}@${webhost} $promotecmd nodejs $version - sign $version + if [ $? -eq 0 ];then + sign $version + fi break done |