From 3da4c9ee1eabbcd46e8b8f595c8f280ec0e0a8c8 Mon Sep 17 00:00:00 2001 From: eyedeekay Date: Tue, 19 Mar 2024 17:56:52 -0400 Subject: [PATCH] we can distribute signed plugin builds so use the plugin-upload script to do that. --- plugin-upload.sh | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) mode change 100644 => 100755 plugin-upload.sh diff --git a/plugin-upload.sh b/plugin-upload.sh old mode 100644 new mode 100755 index e69de29..a80d292 --- a/plugin-upload.sh +++ b/plugin-upload.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env sh + +. ./config.sh +ant distclean versionMd jar plugin + +github-release release --user "${GITHUB_USER}" \ + --repo "${GITHUB_REPO}" \ + --name "${GITHUB_NAME}" \ + --description "${GITHUB_DESCRIPTION}" \ + --tag "${GITHUB_TAG}"; true +sleep 2s +susum=$(sha256sum i2pfirefox.su3) +github-release upload --user "${GITHUB_USER}" \ + --replace \ + --repo "${GITHUB_REPO}" \ + --tag "${GITHUB_TAG}" \ + --label "I2P Browser launcher as an I2P Console Plugin. ${susum}" \ + --name "i2pfirefox.su3" \ + --file "i2pfirefox.su3" +susum=$(sha256sum i2pfirefox-update.su3) +github-release upload --user "${GITHUB_USER}" \ + --replace \ + --repo "${GITHUB_REPO}" \ + --tag "${GITHUB_TAG}" \ + --label "I2P Browser launcher as an I2P Console Plugin, update-only. ${susum}" \ + --name "i2pfirefox-update.su3" \ + --file "i2pfirefox-update.su3" +echo "Uploaded su3 package" \ No newline at end of file