[script,release] add release signing to script

This commit is contained in:
Armin Novak 2024-08-08 12:23:02 +02:00
parent 918d2e3117
commit 862b141649
No known key found for this signature in database
GPG Key ID: 2CF4A2D2D3D72105

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}