Skip to content

Commit aa7eb78

Browse files
Sign produced artifacts directly with gpg WIP
1 parent ec24f1f commit aa7eb78

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/reusable-release-workflow.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -543,8 +543,10 @@ jobs:
543543
run: |
544544
ls -lha ./artifacts
545545
for file in ./artifacts/*; do
546-
echo "Will sign $file with key ${{ env.SIGNING_KEY }}..."
547-
gpg --default-key "${{ env.SIGNING_KEY }}" --detach-sign --armor "$file"
546+
if test -f "$file"; then
547+
echo "Will sign $file with key ${{ env.SIGNING_KEY }}..."
548+
gpg --default-key "${{ env.SIGNING_KEY }}" --detach-sign --armor "$file"
549+
fi
548550
done
549551
ls -lha ./artifacts
550552
- name: Create a GitHub release with a pre-computed version

0 commit comments

Comments
 (0)