2022-09-05 21:52:18 -04:00
|
|
|
#! /usr/bin/env sh
|
|
|
|
git pull --all
|
|
|
|
. ../i2p.firefox/config.sh
|
|
|
|
. ./config.sh
|
|
|
|
. "${HOME}/github-release-config.sh"
|
2022-09-05 22:01:20 -04:00
|
|
|
ant distclean jar
|
2024-02-20 22:45:30 -05:00
|
|
|
ant windows-msi-release
|
2022-09-06 20:57:43 -04:00
|
|
|
msisum=$(sha256sum "i2pbrowser-${GITHUB_TAG}.msi")
|
2022-09-05 21:52:18 -04:00
|
|
|
github-release upload --user "${GITHUB_USER}" \
|
|
|
|
--repo "${GITHUB_REPO}" \
|
|
|
|
--tag "${GITHUB_TAG}" \
|
2022-09-06 20:57:43 -04:00
|
|
|
--label "I2P Browser launcher as a Jpackage inside of an MSI package. ${msisum}" \
|
|
|
|
--name "i2pbrowser.msi" \
|
2022-09-05 22:04:23 -04:00
|
|
|
--file "i2pbrowser-${GITHUB_TAG}.msi" \
|
2022-09-05 21:52:18 -04:00
|
|
|
--replace
|
2022-09-06 21:08:34 -04:00
|
|
|
echo "Uploaded MSI package"
|
2024-02-20 22:45:30 -05:00
|
|
|
ant windows-exe-release
|
2022-09-06 20:57:43 -04:00
|
|
|
exesum=$(sha256sum "i2pbrowser-${GITHUB_TAG}.exe")
|
2022-09-06 18:29:43 -04:00
|
|
|
github-release upload --user "${GITHUB_USER}" \
|
|
|
|
--repo "${GITHUB_REPO}" \
|
|
|
|
--tag "${GITHUB_TAG}" \
|
2022-09-06 20:57:43 -04:00
|
|
|
--label "I2P Browser launcher as a Jpackage inside of an EXE package. ${exesum}" \
|
|
|
|
--name "i2pbrowser.exe" \
|
2022-09-06 18:29:43 -04:00
|
|
|
--file "i2pbrowser-${GITHUB_TAG}.exe" \
|
|
|
|
--replace
|
2022-09-06 21:08:34 -04:00
|
|
|
echo "Uploaded EXE package"
|
2024-02-20 22:45:30 -05:00
|
|
|
ant windows-portable-release
|
2022-09-06 20:57:43 -04:00
|
|
|
zipsum=$(sha256sum "i2pbrowser-portable-${GITHUB_TAG}.zip")
|
2022-09-06 18:29:43 -04:00
|
|
|
github-release upload --user "${GITHUB_USER}" \
|
|
|
|
--repo "${GITHUB_REPO}" \
|
|
|
|
--tag "${GITHUB_TAG}" \
|
2022-09-06 20:57:43 -04:00
|
|
|
--label "I2P Browser launcher as a Jpackage inside of an zip to be run from a directory on Windows. ${zipsum}" \
|
|
|
|
--name "i2pbrowser-portable.zip" \
|
2022-09-06 18:29:43 -04:00
|
|
|
--file "i2pbrowser-portable-${GITHUB_TAG}.zip" \
|
|
|
|
--replace
|
|
|
|
echo "Uploaded Windows ZIP package"
|