add releaser script

This commit is contained in:
idk
2022-08-07 20:20:29 -04:00
parent ce674a50fa
commit f829e9cdf1
2 changed files with 24 additions and 2 deletions

22
release.sh Executable file
View File

@ -0,0 +1,22 @@
#! /usr/bin/env sh
GITHUB_USER=eyedeekay
GITHUB_REPO=i2p.plugins.firefox
GITHUB_NAME="Initial Release"
GITHUB_DESCRIPTION=$(cat README.md)
GITHUB_TAG=0.0.1
ant distclean
cd src && \
ant
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 "build/i2pfirefox.jar" \
--replace

View File

@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit!
#Sun Aug 07 19:34:07 EDT 2022
build.number=84
#Sun Aug 07 20:17:38 EDT 2022
build.number=85