feat: set verbosity flag and supply release GPG key passphrase
This commit is contained in:
parent
d4b10bed24
commit
803ce44707
2 changed files with 9 additions and 3 deletions
1
.github/workflows/linux.yml
vendored
1
.github/workflows/linux.yml
vendored
|
@ -130,6 +130,7 @@ jobs:
|
|||
env:
|
||||
DUMBSERVE_USERNAME: ${{ secrets.DUMBSERVE_USERNAME }}
|
||||
DUMBSERVE_PASSWORD: ${{ secrets.DUMBSERVE_PASSWORD }}
|
||||
GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }}
|
||||
|
||||
- name: generate documentation
|
||||
if: matrix.version == 'stable' && (github.repository == 'realaravinth/dumbserve')
|
||||
|
|
|
@ -76,9 +76,14 @@ sign() {
|
|||
echo "[*] Signing dist tarball checksum"
|
||||
pushd $TMP_DIR
|
||||
export GPG_TTY=$(tty)
|
||||
find $(pwd)
|
||||
find $TMP_DIR
|
||||
gpg --local-user $KEY --output $TARBALL.asc --sign --detach --armor $TARBALL
|
||||
gpg --verbose \
|
||||
--pinentry-mode loopback \
|
||||
--batch --yes \
|
||||
--passphrase $GPG_PASSWORD \
|
||||
--local-user $KEY \
|
||||
--output $TARBALL.asc \
|
||||
--sign --detach \
|
||||
--armor $TARBALL
|
||||
popd
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue