Skip to content

Commit

Permalink
Sign produced artifacts directly with gpg WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin committed Nov 12, 2024
1 parent 1d5bc9e commit 7fff637
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/reusable-release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ jobs:
for file in PACKAGES; do
if test -f "$file"; then
gpg --default-key "${{ env.GPG_SIGNING_KEY_ID }}" --detach-sign --armor "$file"
end
end
fi
done
ls -lha PACKAGES/
- name: Build Debian package without GPG signing
if: inputs.gpg_sign_release == false
Expand Down Expand Up @@ -331,8 +331,8 @@ jobs:
for file in PACKAGES; do
if test -f "$file"; then
gpg --default-key "${{ env.GPG_SIGNING_KEY_ID }}" --detach-sign --armor "$file"
end
end
fi
done
ls -lha PACKAGES/
- name: Build RPM package without GPG signing
if: inputs.gpg_sign_release == false
Expand Down Expand Up @@ -443,6 +443,12 @@ jobs:
PRODUCT_VERSION=${{ env.WINDOWS_INSTALLER_VERSION }}
cd ..
ls -lha PACKAGES/
for file in PACKAGES; do
if test -f "$file"; then
gpg --default-key "${{ env.GPG_SIGNING_KEY_ID }}" --detach-sign --armor "$file"
fi
done
ls -lha PACKAGES/
- name: Remove signing artifacts
run: |
rm -f ${{ env.WORKAROUND_TEMP_DIR }}/code_signing.cert
Expand Down

0 comments on commit 7fff637

Please sign in to comment.