summaryrefslogtreecommitdiff
path: root/mkwinbins.sh
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-06-23 18:18:28 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-06-23 18:19:54 +0200
commit1e15d2426ec60017b72c296271d7e551d9765a11 (patch)
treee4603e8d9ae247fa96922cfa9789d7c8867196ec /mkwinbins.sh
parentdd1a31620e7286f6c12f87297744fd7f65495ded (diff)
Sign the windows release zip packages
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'mkwinbins.sh')
-rwxr-xr-xmkwinbins.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/mkwinbins.sh b/mkwinbins.sh
index 6d674be..b89f4ae 100755
--- a/mkwinbins.sh
+++ b/mkwinbins.sh
@@ -233,3 +233,7 @@ zip -g -r -l "${W32_ZIP_NAME}.zip" "$W32_ZIP_NAME/licenses" $W32_ZIP_NAME/*.md
zip -r "${W64_ZIP_NAME}.zip" "$W64_ZIP_NAME/bin" "$W64_ZIP_NAME/lib"
zip -g -r -l "${W64_ZIP_NAME}.zip" "$W64_ZIP_NAME/include"
zip -g -r -l "${W64_ZIP_NAME}.zip" "$W64_ZIP_NAME/licenses" $W64_ZIP_NAME/*.md
+
+############################# sign the packages ##############################
+gpg -o "${W64_ZIP_NAME}.zip.asc" --detach-sign -a "${W64_ZIP_NAME}.zip"
+gpg -o "${W32_ZIP_NAME}.zip.asc" --detach-sign -a "${W32_ZIP_NAME}.zip"