From d48f59224b91d7149bfe96344689720939ed5f4c Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Wed, 28 Aug 2019 10:47:24 +1000 Subject: [PATCH] tools: ensure consistent perms of signed release files Fixes: https://github.com/nodejs/build/issues/1904 PR-URL: https://github.com/nodejs/node/pull/29350 Reviewed-By: Myles Borins Reviewed-By: Luigi Pinca Reviewed-By: James M Snell Reviewed-By: Beth Griggs Reviewed-By: Rich Trott --- tools/release.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/release.sh b/tools/release.sh index 3ef503a08a8ea3..3c2cc1ea0736e7 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -144,6 +144,7 @@ function sign { if [ "X${yorn}" == "Xy" ]; then scp ${customsshkey} ${tmpdir}/${shafile} ${tmpdir}/${shafile}.asc ${tmpdir}/${shafile}.sig ${webuser}@${webhost}:${shadir}/ + ssh ${customsshkey} ${webuser}@${webhost} chmod 644 ${shadir}/${shafile}.asc ${shadir}/${shafile}.sig break fi done