Files
i2p.plugins.firefox/release.sh
idk addf62d640 update launcher script to self-discover jar. add some build targets of convenience
Former-commit-id: fb30909e3a
Former-commit-id: 07f93beb2e49f297bd59f9f45c3da72daced4362
2022-08-08 20:10:10 -04:00

29 lines
786 B
Bash
Executable File

#! /usr/bin/env sh
GITHUB_USER=eyedeekay
GITHUB_REPO=i2p.plugins.firefox
GITHUB_NAME="Initial Release"
GITHUB_DESCRIPTION=$(cat CHANGES.md)
GITHUB_TAG=0.0.6
ant distclean
ant jar freeZip
github-release release --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \
--name "${GITHUB_NAME}" \
--description "${GITHUB_DESCRIPTION}" \
--tag "${GITHUB_TAG}"
sleep 2s
github-release upload --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
--name "i2pfirefox.jar" \
--file "src/build/i2pfirefox.jar" \
--replace
github-release upload --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
--name "i2pfirefox.zip" \
--file "i2pfirefox.zip" \
--replace
git pull github --tags
git push --all