From e806b22f33087337c7fa709f3fe62e8211d14fd9 Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Thu, 11 Mar 2021 21:27:30 +0100 Subject: [pkg] hash and sign artifacts --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ef6bf91..3e66175 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3