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: nodejs#24669
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
rvagg authored and refack committed Jan 10, 2019
1 parent e32ad9f commit 17c0c10
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 17c0c10

Please sign in to comment.