Skip to content

Commit

Permalink
Update flake_vendorhash.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
hilmarf authored Jun 5, 2024
1 parent 22d3d6a commit ae3e962
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/flake_vendorhash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,10 @@ jobs:
export GPG_PASS="${{ secrets.OCMBOT_SIGNING_KEY_PASS }}"
cat << EOF >> gpg-wrapper
#!/bin/bash
export pflag=""
if [[ -n "$GPG_PASS" ]]; then pflag="--passphrase ${GPG_PASS}" fi
pflag=""
if [[ -n "$GPG_PASS" ]]; then
pflag="--passphrase ${GPG_PASS}"
fi
gpg --yes --batch $pflag --pinentry-mode loopback $@ <&0
exit $?
EOF
Expand Down

0 comments on commit ae3e962

Please sign in to comment.