Skip to content

Commit b0160a7

Browse files
committed
tools: only sign release if promotion successful
Ref: nodejs/build#1596
1 parent bb04a8b commit b0160a7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/release.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,9 @@ for version in $versions; do
196196

197197
ssh ${customsshkey} ${webuser}@${webhost} $promotecmd nodejs $version
198198

199-
sign $version
199+
if [ $? -eq 0 ];then
200+
sign $version
201+
fi
200202

201203
break
202204
done

0 commit comments

Comments
 (0)