Skip to content

Commit

Permalink
tools: only sign release if promotion successful
Browse files Browse the repository at this point in the history
Ref: nodejs/build#1596

PR-URL: #24669
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
rvagg authored and BridgeAR committed Dec 5, 2018
1 parent 2ef6aed commit e3649c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e3649c8

Please sign in to comment.