summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile8
-rw-r--r--docs/build-win.rst9
2 files changed, 17 insertions, 0 deletions
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
diff --git a/docs/build-win.rst b/docs/build-win.rst
index 1e65c27..0deff8d 100644
--- a/docs/build-win.rst
+++ b/docs/build-win.rst
@@ -51,6 +51,15 @@ or all together as::
make package_win_release
+Uploading installer
+-------------------
+
+Since 0.21.2, we're hashing and signing the installers::
+
+ export FILE=deploy/RiseupVPN-installer-0.21.2.exe
+ make sign_artifact
+ make upload_artifact
+
unreviewed notes
----------------