68 lines
2.5 KiB
Bash
Executable File
68 lines
2.5 KiB
Bash
Executable File
#! /usr/bin/env sh
|
|
|
|
. ./config.sh
|
|
./preprelease.sh
|
|
github-release release --user "${GITHUB_USER}" \
|
|
--repo "${GITHUB_REPO}" \
|
|
--name "${GITHUB_NAME}" \
|
|
--description "${GITHUB_DESCRIPTION}" \
|
|
--tag "${GITHUB_TAG}"; true
|
|
./profiles-upload.sh
|
|
sleep 2s
|
|
github-release edit --user "${GITHUB_USER}" \
|
|
--repo "${GITHUB_REPO}" \
|
|
--name "${GITHUB_NAME}" \
|
|
--description "${GITHUB_DESCRIPTION}" \
|
|
--tag "${GITHUB_TAG}"; true
|
|
echo "Relase ${GITHUB_TAG} setup"
|
|
tarsum=$(sha256sum i2p.plugins.firefox.tar.gz)
|
|
github-release upload --user "${GITHUB_USER}" \
|
|
--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"
|
|
jarsum=$(sha256sum "src/build/i2pfirefox.jar")
|
|
github-release upload --user "${GITHUB_USER}" \
|
|
--repo "${GITHUB_REPO}" \
|
|
--tag "${GITHUB_TAG}" \
|
|
--label "I2P Browser launcher as a .jar. Useful as a library or for advanced users. ${jarsum}" \
|
|
--name "i2pfirefox.jar" \
|
|
--file "src/build/i2pfirefox.jar"
|
|
echo "Uploaded jar"
|
|
zipsum=$(sha256sum "i2pfirefox.zip")
|
|
github-release upload --user "${GITHUB_USER}" \
|
|
--repo "${GITHUB_REPO}" \
|
|
--tag "${GITHUB_TAG}" \
|
|
--label "I2P Browser launcher as a .jar and a set of semi-univeral launcher scripts. ${zipsum}" \
|
|
--name "i2pfirefox.zip" \
|
|
--file "i2pfirefox.zip"
|
|
echo "Uploaded freestanding zip"
|
|
jvmsum=$(sha256sum "i2pbrowser.zip")
|
|
github-release upload --user "${GITHUB_USER}" \
|
|
--repo "${GITHUB_REPO}" \
|
|
--tag "${GITHUB_TAG}" \
|
|
--label "I2P Browser launcher as a Jpackage, does not require a JVM. ${jvmsum}" \
|
|
--name "i2pbrowser.zip" \
|
|
--file "i2pbrowser.zip"
|
|
echo "Uploaded jpackage zip"
|
|
debsum=$(sha256sum "i2pbrowser_${GITHUB_TAG}_amd64.deb")
|
|
github-release upload --user "${GITHUB_USER}" \
|
|
--repo "${GITHUB_REPO}" \
|
|
--tag "${GITHUB_TAG}" \
|
|
--label "I2P Browser launcher as a Jpackage inside of a Debian package. ${debsum}" \
|
|
--name "i2pbrowser_${GITHUB_TAG}_amd64.deb" \
|
|
--file "i2pbrowser_${GITHUB_TAG}_amd64.deb"
|
|
echo "Uploaded debian package"
|
|
rpmsum=$(sha256sum i2pbrowser-${GITHUB_TAG}-1.x86_64.rpm)
|
|
github-release upload --user "${GITHUB_USER}" \
|
|
--repo "${GITHUB_REPO}" \
|
|
--tag "${GITHUB_TAG}" \
|
|
--label "I2P Browser launcher as a Jpackage inside of a Fedora package. ${rpmsum}" \
|
|
--name "i2pbrowser-${GITHUB_TAG}-1.x86_64.rpm" \
|
|
--file "i2pbrowser-${GITHUB_TAG}-1.x86_64.rpm"
|
|
echo "Uploaded fedora package"
|
|
|
|
git pull github --tags
|
|
git push --all
|