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:
|
env:
|
||||||
DUMBSERVE_USERNAME: ${{ secrets.DUMBSERVE_USERNAME }}
|
DUMBSERVE_USERNAME: ${{ secrets.DUMBSERVE_USERNAME }}
|
||||||
DUMBSERVE_PASSWORD: ${{ secrets.DUMBSERVE_PASSWORD }}
|
DUMBSERVE_PASSWORD: ${{ secrets.DUMBSERVE_PASSWORD }}
|
||||||
|
GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }}
|
||||||
|
|
||||||
- name: generate documentation
|
- name: generate documentation
|
||||||
if: matrix.version == 'stable' && (github.repository == 'realaravinth/dumbserve')
|
if: matrix.version == 'stable' && (github.repository == 'realaravinth/dumbserve')
|
||||||
|
|
|
@ -76,9 +76,14 @@ sign() {
|
||||||
echo "[*] Signing dist tarball checksum"
|
echo "[*] Signing dist tarball checksum"
|
||||||
pushd $TMP_DIR
|
pushd $TMP_DIR
|
||||||
export GPG_TTY=$(tty)
|
export GPG_TTY=$(tty)
|
||||||
find $(pwd)
|
gpg --verbose \
|
||||||
find $TMP_DIR
|
--pinentry-mode loopback \
|
||||||
gpg --local-user $KEY --output $TARBALL.asc --sign --detach --armor $TARBALL
|
--batch --yes \
|
||||||
|
--passphrase $GPG_PASSWORD \
|
||||||
|
--local-user $KEY \
|
||||||
|
--output $TARBALL.asc \
|
||||||
|
--sign --detach \
|
||||||
|
--armor $TARBALL
|
||||||
popd
|
popd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue