This commit is contained in:
RainLoop Team 2021-01-16 21:55:54 +03:00
parent 6994837567
commit 4f20aacf60

View file

@ -41,11 +41,11 @@ jobs:
echo -e "$GPG_SIGNING_KEY" > ~/.gnupg/private.key
find ~/.gnupg -type f -exec chmod 600 {} \;
find ~/.gnupg -type d -exec chmod 700 {} \;
gpg --import --no-tty --yes ~/.gnupg/private.key
gpg --import --yes ~/.gnupg/private.key
gpg --list-secret-keys --keyid-format LONG
ls ./release/*.zip
echo "---"
for ff in `ls ./release/*.zip`; do gpg --detach-sign --armor --openpgp --yes -u 87DA4591 --passphrase="$GPG_PASSPHRASE" $ff; done
for ff in `ls ./release/*.zip`; do gpg --detach-sign --armor --openpgp --pinentry-mode loopback --yes -u 87DA4591 --passphrase="$GPG_PASSPHRASE" $ff; done
env:
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}