Skip to content

Commit

Permalink
Add --yes to gpg sign command
Browse files Browse the repository at this point in the history
  • Loading branch information
lopopolo committed Jan 3, 2021
1 parent 5401d92 commit e89b904
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -192,15 +192,15 @@ jobs:
cp "artichoke/target/${{ matrix.target }}/release/artichoke.exe" "$staging/"
cp "artichoke/target/${{ matrix.target }}/release/airb.exe" "$staging/"
"/c/Program Files/7-Zip/7z.exe" a "$staging.zip" "$staging"
echo "${{ secrets.GPG_SIGNING_KEY_PASSPHRASE }}" | gpg --passphrase-fd 0 --batch --detach-sign --armor --local-user AF57A37CAC061452 --output "$staging.zip.asc" "$staging.zip"
echo "${{ secrets.GPG_SIGNING_KEY_PASSPHRASE }}" | gpg --passphrase-fd 0 --batch --yes --detach-sign --armor --local-user AF57A37CAC061452 --output "$staging.zip.asc" "$staging.zip"
gpg --batch --verify "$staging.zip.asc" "$staging.zip"
echo "::set-output name=asset::$staging.zip"
echo "::set-output name=content_type::application/zip"
else
cp "artichoke/target/${{ matrix.target }}/release/artichoke" "$staging/"
cp "artichoke/target/${{ matrix.target }}/release/airb" "$staging/"
tar czf "$staging.tar.gz" "$staging"
echo "${{ secrets.GPG_SIGNING_KEY_PASSPHRASE }}" | gpg --passphrase-fd 0 --batch --detach-sign --armor --local-user AF57A37CAC061452 --output "$staging.tar.gz.asc" "$staging.tar.gz"
echo "${{ secrets.GPG_SIGNING_KEY_PASSPHRASE }}" | gpg --passphrase-fd 0 --batch --yes --detach-sign --armor --local-user AF57A37CAC061452 --output "$staging.tar.gz.asc" "$staging.tar.gz"
gpg --batch --verify "$staging.zip.asc" "$staging.tar.gz"
echo "::set-output name=asset::$staging.tar.gz"
echo "::set-output name=content_type::application/gzip"
Expand Down
7 changes: 7 additions & 0 deletions README.md.asc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQcSoVqz4bsHuhBGA+vV6N8rAYUUgUCX/I/BgAKCRCvV6N8rAYU
Ul9zAP4lKDKBCy/SaLvtnWYUHcOWlych910GXrzFsGZZW/eh9gEAleh+lTPjRfJh
xeCEtZeNRoGCMsmG27pj+wEnDPHRrQI=
=0sS5
-----END PGP SIGNATURE-----

0 comments on commit e89b904

Please sign in to comment.