From e89b904536a14645cab30708b982ae46da0a3f00 Mon Sep 17 00:00:00 2001 From: Ryan Lopopolo Date: Sun, 3 Jan 2021 14:03:32 -0800 Subject: [PATCH] Add --yes to gpg sign command --- .github/workflows/nightly.yaml | 4 ++-- README.md.asc | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 README.md.asc diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index dee7920..a43e9ea 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -192,7 +192,7 @@ 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" @@ -200,7 +200,7 @@ jobs: 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" diff --git a/README.md.asc b/README.md.asc new file mode 100644 index 0000000..38f135f --- /dev/null +++ b/README.md.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- + +iHUEABYIAB0WIQQcSoVqz4bsHuhBGA+vV6N8rAYUUgUCX/I/BgAKCRCvV6N8rAYU +Ul9zAP4lKDKBCy/SaLvtnWYUHcOWlych910GXrzFsGZZW/eh9gEAleh+lTPjRfJh +xeCEtZeNRoGCMsmG27pj+wEnDPHRrQI= +=0sS5 +-----END PGP SIGNATURE-----