Skip to content

Commit

Permalink
Provide explicit key id
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-helmich committed Feb 26, 2024
1 parent 5d68342 commit 260f2ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .build/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@ chmod +x phar-composer-${phar_composer_version}.phar
if [ -n "${signing_key}" ] ; then
echo "${signing_key}" | gpg --import

gpg --detach-sign --output "${phar_name}.asc" "${phar_name}"
gpg --list-keys
gpg --detach-sign -u "${signing_key_fingerprint}" --output "${phar_name}.asc" "${phar_name}"
fi
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
run: composer run-script package ${{ steps.tagName.outputs.tag }}
env:
signing_key: ${{ secrets.pharSigningKey }}
signing_key_fingerprint: ${{ secrets.PHAR_SIGNING_KEY_FINGERPRINT }}

- name: Release
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 260f2ac

Please sign in to comment.