Building the packages - retorquere/zotero-deb GitHub Wiki
The update script expects a gpg key by the name dpkg
to be available:
Set up gpg
cat << EOF | gpg --gen-key --batch
%no-protection
Key-Type: RSA
Key-Length: 4096
Key-Usage: sign
Name-Real: dpkg
Name-Email: [email protected]
Expire-Date: 0
%commit
EOF
for CI
builds you can do the following:
gpg --export-secret-keys dpkg > dpkg.priv.key
gpg -c dpkg.priv.key
and then run
gpg --batch --passphrase "${{ secrets.PASSPHRASE }}" --decrypt dpkg.priv.key.gpg | gpg --import
before running the release
script.