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 1fe3d34 commit 17c39bfCopy full SHA for 17c39bf
sign.sh
@@ -1,7 +1,7 @@
1
#!/bin/bash
2
3
gpg-agent --daemon --default-cache-ttl 7200
4
-echo "${GPG_PRIVATE_KEY}" | gpg --import --batch --no-tty
+echo "$GPG_PRIVATE_KEY" | cat -e | sed 's/\$/\\n/g' | gpg --import --batch --no-tty
5
echo "hello world" > temp.txt
6
gpg --detach-sig --yes -v --output=/dev/null --pinentry-mode loopback --passphrase "${PASSPHRASE}" temp.txt
7
cd assets ; gpg --detach-sign ${PROJECT}-${VERSION}_SHA256SUMS
0 commit comments