Skip to content

Commit 17c39bf

Browse files
committed
OAS-4755 | Test sign fix
1 parent 1fe3d34 commit 17c39bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sign.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
gpg-agent --daemon --default-cache-ttl 7200
4-
echo "${GPG_PRIVATE_KEY}" | gpg --import --batch --no-tty
4+
echo "$GPG_PRIVATE_KEY" | cat -e | sed 's/\$/\\n/g' | gpg --import --batch --no-tty
55
echo "hello world" > temp.txt
66
gpg --detach-sig --yes -v --output=/dev/null --pinentry-mode loopback --passphrase "${PASSPHRASE}" temp.txt
77
cd assets ; gpg --detach-sign ${PROJECT}-${VERSION}_SHA256SUMS

0 commit comments

Comments
 (0)