From df163c74e2cf991fe81eaa1e23423500a8d056e2 Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Thu, 13 Oct 2016 13:09:39 +1100 Subject: [PATCH] tools: make detached SHASUM .sig file for releases PR-URL: https://github.com/nodejs/node/pull/9071 Reviewed-By: James M Snell Reviewed-By: Myles Borins --- tools/release.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/release.sh b/tools/release.sh index 94dbc03322..c465e80810 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -98,6 +98,7 @@ function sign { scp ${webuser}@${webhost}:${shapath} ${tmpdir}/${shafile} gpg --default-key $gpgkey --clearsign --digest-algo SHA256 ${tmpdir}/${shafile} + gpg --default-key $gpgkey --detach-sign --digest-algo SHA256 ${tmpdir}/${shafile} echo "Wrote to ${tmpdir}/" @@ -117,7 +118,7 @@ function sign { fi if [ "X${yorn}" == "Xy" ]; then - scp ${tmpdir}/${shafile} ${tmpdir}/${shafile}.asc ${webuser}@${webhost}:${shadir}/ + scp ${tmpdir}/${shafile} ${tmpdir}/${shafile}.asc ${tmpdir}/${shafile}.sig ${webuser}@${webhost}:${shadir}/ break fi done