Merge pull request #10459 from akallabeth/update_release_script

[script,release] add release signing to script
This commit is contained in:
akallabeth 2024-08-08 12:52:45 +02:00 committed by GitHub
commit 0d94a37fc0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,6 +59,12 @@ run zip -r ${ZIPNAME} freerdp-${TAG}
create_hash ${ZIPNAME}
popd
# Sign the release tarballs
for EXT in tar.gz tar.bz2 tar.xz zip;
do
run gpg --local-user 0xA49454A3FC909FD5 --sign --armor --output ${TMPDIR}/freerdp-${TAG}.${EXT}.asc --detach-sig ${TMPDIR}/freerdp-${TAG}.${EXT}
done
run mv ${TMPDIR}/freerdp-${TAG}.tar* .
run mv ${TMPDIR}/freerdp-${TAG}.zip* .
run rm -rf ${TMPDIR}