Files
i2p.plugins.firefox/release.sh

64 lines
2.2 KiB
Bash
Raw Normal View History

2022-08-07 20:20:29 -04:00
#! /usr/bin/env sh
2022-09-05 21:12:53 -04:00
. ./config.sh
2022-09-05 21:14:59 -04:00
ant distclean clangFmt
2022-08-27 13:53:14 -04:00
./javadoc.sh
2022-09-01 15:11:48 -04:00
NUMLINE=`grep release.number build.xml | head -n 1`
sed -i "s|$NUMLINE| <property name=\"release.number\" value=\"$GITHUB_TAG\" />|g" build.xml
2022-08-30 15:15:21 -04:00
edgar && git push --all
ant jar freeZip jpackage debian fedora
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-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-01 15:49:07 -04:00
echo "Relase $GITHUB_TAG setup"
2022-08-07 20:20:29 -04:00
github-release upload --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
2022-09-01 15:11:48 -04:00
--label "I2P Browser launcher as a .jar." \
2022-08-07 20:20:29 -04:00
--name "i2pfirefox.jar" \
--file "src/build/i2pfirefox.jar" \
2022-08-07 20:46:22 -04:00
--replace
2022-09-01 15:49:07 -04:00
echo "Uploaded jar"
2022-08-07 20:49:20 -04:00
github-release upload --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
2022-09-01 15:11:48 -04:00
--label "I2P Browser launcher as a .jar and a set of semi-univeral launcher scripts." \
2022-08-07 20:49:20 -04:00
--name "i2pfirefox.zip" \
--file "i2pfirefox.zip" \
2022-09-01 15:11:48 -04:00
--replace
2022-09-01 15:49:07 -04:00
echo "Uploaded freestanding zip"
2022-09-01 15:11:48 -04:00
github-release upload --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
--label "I2P Browser launcher as a Jpackage, does not require a JVM, Linux Only for now unless you BYO." \
2022-09-01 16:12:59 -04:00
--name "i2pbrowser.zip" \
2022-09-01 15:11:48 -04:00
--file "i2pbrowser.zip" \
--replace
2022-09-05 21:12:10 -04:00
echo "Uploaded jpackage zip"
github-release upload --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
--label "I2P Browser launcher as a Jpackage inside of a Debian package." \
2022-09-05 21:28:36 -04:00
--name "i2pbrowser_${GITHUB_TAG}_.deb" \
--file "i2pbrowser_${GITHUB_TAG}_amd64.deb" \
--replace
2022-09-06 19:25:43 -04:00
echo "Uploaded debian package"
github-release upload --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
--label "I2P Browser launcher as a Jpackage inside of a Fedora package." \
--name "i2pbrowser_${GITHUB_TAG}_.rpm" \
2022-09-06 19:35:19 -04:00
--file "i2pbrowser_${GITHUB_TAG}-1.x86_64.rpm" \
2022-09-06 19:25:43 -04:00
--replace
echo "Uploaded fedora package"
2022-08-07 22:57:40 -04:00
git pull github --tags
2022-09-01 15:11:48 -04:00
git push --all