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 BethGriggs committed Feb 12, 2019
1 parent cc880fb commit f5f1266
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 f5f1266

Please sign in to comment.