Skip to content

Commit 3b96e99

Browse files
committed
sha and gpg
1 parent d9e0575 commit 3b96e99

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/python-release.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,24 @@ jobs:
8080
if: startsWith(matrix.os, 'ubuntu')
8181
run: ls -lah dist/* && cp dist/* svn_wheelhouse/
8282

83+
- name: Generate SHA512 checksums
84+
if: startsWith(matrix.os, 'ubuntu')
85+
run: |
86+
cd svn_wheelhouse
87+
for name in $(ls pyiceberg-*.whl pyiceberg-*.tar.gz)
88+
do
89+
shasum -a 512 "${name}" > "${name}.sha512"
90+
done
91+
92+
- name: Generate GPG signatures
93+
if: startsWith(matrix.os, 'ubuntu')
94+
run: |
95+
cd svn_wheelhouse
96+
for name in $(ls pyiceberg-*.whl pyiceberg-*.tar.gz)
97+
do
98+
gpg --yes --armor --output "${name}.asc" --detach-sig "${name}"
99+
done
100+
83101
- uses: actions/upload-artifact@v4
84102
with:
85103
name: "release-svn-${{ matrix.os }}"

0 commit comments

Comments
 (0)