diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-03-11 21:27:30 +0100 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-03-11 21:28:06 +0100 |
commit | e806b22f33087337c7fa709f3fe62e8211d14fd9 (patch) | |
tree | 0b3bfb3bb2ebba4b577c3de7f6da4b3b85ead1f7 /Makefile | |
parent | faf114319b89bf7f07710efa9ff53656b850ac58 (diff) |
[pkg] hash and sign artifacts
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -393,6 +393,14 @@ package_snap: package_deb: @make -C build/${PROVIDER} pkg_deb +sign_artifact: + @find ${FILE} -type f -not -name "*.asc" -print0 | xargs -0 -n1 -I{} sha256sum -b "{}" | sed 's/*deploy\///' > ${FILE}.sha256 + @gpg --clear-sign --armor ${FILE}.sha256 + +upload_artifact: + scp ${FILE} downloads.leap.se:./ + scp ${FILE}.sha256.asc downloads.leap.se:./ + ######################################################################### # icons & locales |