2022-08-07 20:20:29 -04:00
|
|
|
#! /usr/bin/env sh
|
|
|
|
|
2022-09-05 21:12:53 -04:00
|
|
|
. ./config.sh
|
2024-02-01 11:36:50 -05:00
|
|
|
#./preprelease.sh
|
2022-08-07 20:20:29 -04:00
|
|
|
github-release release --user "${GITHUB_USER}" \
|
|
|
|
--repo "${GITHUB_REPO}" \
|
|
|
|
--name "${GITHUB_NAME}" \
|
|
|
|
--description "${GITHUB_DESCRIPTION}" \
|
2022-08-19 18:30:14 -04:00
|
|
|
--tag "${GITHUB_TAG}"; true
|
2022-12-23 01:44:01 +00:00
|
|
|
sleep 2s
|
2022-10-23 11:26:45 -04:00
|
|
|
./profiles-upload.sh
|
2022-08-07 20:20:29 -04:00
|
|
|
sleep 2s
|
2022-08-20 20:58:10 -04:00
|
|
|
github-release edit --user "${GITHUB_USER}" \
|
|
|
|
--repo "${GITHUB_REPO}" \
|
|
|
|
--name "${GITHUB_NAME}" \
|
|
|
|
--description "${GITHUB_DESCRIPTION}" \
|
|
|
|
--tag "${GITHUB_TAG}"; true
|
2022-09-06 20:57:43 -04:00
|
|
|
echo "Relase ${GITHUB_TAG} setup"
|
2022-10-05 14:51:54 -04:00
|
|
|
tarsum=$(sha256sum i2p.plugins.firefox.tar.gz)
|
|
|
|
github-release upload --user "${GITHUB_USER}" \
|
2022-12-18 20:31:48 +00:00
|
|
|
--replace \
|
2022-10-05 14:51:54 -04:00
|
|
|
--repo "${GITHUB_REPO}" \
|
|
|
|
--tag "${GITHUB_TAG}" \
|
|
|
|
--label "I2P Browser launcher source tarball. ${tarsum}" \
|
|
|
|
--name "i2p.plugins.firefox-${GITHUB_TAG}.tar.gz" \
|
|
|
|
--file "i2p.plugins.firefox.tar.gz"
|
2022-09-06 21:06:31 -04:00
|
|
|
jarsum=$(sha256sum "src/build/i2pfirefox.jar")
|
2022-08-07 20:20:29 -04:00
|
|
|
github-release upload --user "${GITHUB_USER}" \
|
2022-12-18 20:31:48 +00:00
|
|
|
--replace \
|
2022-08-07 20:20:29 -04:00
|
|
|
--repo "${GITHUB_REPO}" \
|
|
|
|
--tag "${GITHUB_TAG}" \
|
2022-09-06 21:22:03 -04:00
|
|
|
--label "I2P Browser launcher as a .jar. Useful as a library or for advanced users. ${jarsum}" \
|
2022-08-07 20:20:29 -04:00
|
|
|
--name "i2pfirefox.jar" \
|
2022-10-05 14:51:54 -04:00
|
|
|
--file "src/build/i2pfirefox.jar"
|
2022-09-01 15:49:07 -04:00
|
|
|
echo "Uploaded jar"
|
2022-09-06 20:57:43 -04:00
|
|
|
zipsum=$(sha256sum "i2pfirefox.zip")
|
2022-08-07 20:49:20 -04:00
|
|
|
github-release upload --user "${GITHUB_USER}" \
|
2022-12-18 20:31:48 +00:00
|
|
|
--replace \
|
2022-08-07 20:49:20 -04:00
|
|
|
--repo "${GITHUB_REPO}" \
|
|
|
|
--tag "${GITHUB_TAG}" \
|
2022-09-06 20:57:43 -04:00
|
|
|
--label "I2P Browser launcher as a .jar and a set of semi-univeral launcher scripts. ${zipsum}" \
|
2022-08-07 20:49:20 -04:00
|
|
|
--name "i2pfirefox.zip" \
|
2022-10-05 14:51:54 -04:00
|
|
|
--file "i2pfirefox.zip"
|
2022-09-01 15:49:07 -04:00
|
|
|
echo "Uploaded freestanding zip"
|
2023-01-18 04:35:53 +00:00
|
|
|
jvmsum=$(sha256sum "i2pbrowser.tar.gz")
|
2022-09-01 15:11:48 -04:00
|
|
|
github-release upload --user "${GITHUB_USER}" \
|
2022-12-18 20:31:48 +00:00
|
|
|
--replace \
|
2022-09-01 15:11:48 -04:00
|
|
|
--repo "${GITHUB_REPO}" \
|
|
|
|
--tag "${GITHUB_TAG}" \
|
2022-09-06 20:57:43 -04:00
|
|
|
--label "I2P Browser launcher as a Jpackage, does not require a JVM. ${jvmsum}" \
|
2023-01-18 04:35:53 +00:00
|
|
|
--name "i2pbrowser.tar.gz" \
|
|
|
|
--file "i2pbrowser.tar.gz"
|
2022-09-05 21:12:10 -04:00
|
|
|
echo "Uploaded jpackage zip"
|
2022-09-06 20:57:43 -04:00
|
|
|
debsum=$(sha256sum "i2pbrowser_${GITHUB_TAG}_amd64.deb")
|
2022-09-05 18:23:33 -04:00
|
|
|
github-release upload --user "${GITHUB_USER}" \
|
2022-12-18 20:31:48 +00:00
|
|
|
--replace \
|
2022-09-05 18:23:33 -04:00
|
|
|
--repo "${GITHUB_REPO}" \
|
|
|
|
--tag "${GITHUB_TAG}" \
|
2022-09-06 20:57:43 -04:00
|
|
|
--label "I2P Browser launcher as a Jpackage inside of a Debian package. ${debsum}" \
|
2022-09-07 03:35:50 -04:00
|
|
|
--name "i2pbrowser_${GITHUB_TAG}_amd64.deb" \
|
2022-10-05 14:51:54 -04:00
|
|
|
--file "i2pbrowser_${GITHUB_TAG}_amd64.deb"
|
2022-09-06 19:25:43 -04:00
|
|
|
echo "Uploaded debian package"
|
2022-09-06 20:57:43 -04:00
|
|
|
rpmsum=$(sha256sum i2pbrowser-${GITHUB_TAG}-1.x86_64.rpm)
|
2022-09-06 19:25:43 -04:00
|
|
|
github-release upload --user "${GITHUB_USER}" \
|
2022-12-18 20:31:48 +00:00
|
|
|
--replace \
|
2022-09-06 19:25:43 -04:00
|
|
|
--repo "${GITHUB_REPO}" \
|
|
|
|
--tag "${GITHUB_TAG}" \
|
2022-09-06 20:57:43 -04:00
|
|
|
--label "I2P Browser launcher as a Jpackage inside of a Fedora package. ${rpmsum}" \
|
2022-09-07 03:49:31 -04:00
|
|
|
--name "i2pbrowser-${GITHUB_TAG}-1.x86_64.rpm" \
|
2022-12-19 03:02:02 +00:00
|
|
|
--file "i2pbrowser-${GITHUB_TAG}-1.x86_64.rpm"
|
2022-09-06 19:25:43 -04:00
|
|
|
echo "Uploaded fedora package"
|
2022-12-19 03:02:02 +00:00
|
|
|
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"
|
2023-01-01 02:56:07 +00:00
|
|
|
torsum=$(sha256sum i2p.plugins.firefox.torrent.zip)
|
|
|
|
github-release upload --user "${GITHUB_USER}" \
|
|
|
|
--replace \
|
|
|
|
--repo "${GITHUB_REPO}" \
|
|
|
|
--tag "${GITHUB_TAG}" \
|
|
|
|
--label "I2P Browser launcher as an I2P Console Plugin, release torrent. ${torsum}" \
|
|
|
|
--name "i2p.plugins.firefox.torrent.zip" \
|
|
|
|
--file "i2p.plugins.firefox.torrent.zip"
|
|
|
|
echo "Uploaded torrent package"
|
2022-09-15 18:30:48 -04:00
|
|
|
|
2022-08-07 22:57:40 -04:00
|
|
|
git pull github --tags
|
2022-09-01 15:11:48 -04:00
|
|
|
git push --all
|