We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 131b900 commit dbcf093Copy full SHA for dbcf093
sign.sh
@@ -3,8 +3,7 @@ set -e
3
4
gpg-agent --daemon --default-cache-ttl 7200
5
# Multiline key in an envvar gets mangled.
6
-FIXED_KEY=$(echo "$GPG_PRIVATE_KEY" | cat -e | sed 's/\$/\\n/g')
7
-echo -e $FIXED_KEY | gpg --import --batch --no-tty
+echo "$GPG_PRIVATE_KEY_BASE64" | base64 -d | gpg --import --batch --no-tty
8
echo "hello world" > temp.txt
9
gpg --detach-sig --yes -v --output=/dev/null --pinentry-mode loopback --passphrase "${PASSPHRASE}" temp.txt
10
cd assets ; gpg --detach-sign ${PROJECT}-${VERSION}_SHA256SUMS
0 commit comments