Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRod Vagg <rod@vagg.org>2018-11-27 12:19:29 +0300
committerRuben Bridgewater <ruben@bridgewater.de>2018-12-05 21:41:52 +0300
commite3649c8e098c1b58a5def17f2b03d2d7ce86bea8 (patch)
tree6531831100f7d9b87cbc10215c37e01d387e092d /tools
parent2ef6aed58a7352654d1a88d9766b20fa392b78d2 (diff)
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')
-rwxr-xr-xtools/release.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/release.sh b/tools/release.sh
index c828162f0ca..3ef503a08a8 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