Files
i2p.plugins.firefox/release.sh
idk 856691f025 put Tor Browser's at the top of the order on Windows
Former-commit-id: 2f9b0e3686
Former-commit-id: 26f1abe6b38960a67095c1ce684fbfd4556c2ca2
2022-08-19 22:54:53 -04:00

29 lines
856 B
Bash
Executable File

#! /usr/bin/env sh
GITHUB_USER=eyedeekay
GITHUB_REPO=i2p.plugins.firefox
GITHUB_NAME="Which prioritizes Tor Browser if you have it installed and Firefox if you don't"
GITHUB_DESCRIPTION=$(cat CHANGES.md)
GITHUB_TAG=0.0.8
ant distclean
ant jar freeZip
github-release release --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \
--name "${GITHUB_NAME}" \
--description "${GITHUB_DESCRIPTION}" \
--tag "${GITHUB_TAG}"; true
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