mirror of
https://github.com/i2p/i2p.firefox.git
synced 2024-12-06 19:16:37 +01:00
25 lines
611 B
Bash
Executable File
25 lines
611 B
Bash
Executable File
#! /usr/bin/env bash
|
|
set -e
|
|
|
|
SCRIPT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd -P)
|
|
cd "$SCRIPT_DIR" || exit 1
|
|
|
|
. "$SCRIPT_DIR/i2pversion"
|
|
|
|
if [ -f i2pversion_override ]; then
|
|
. "$SCRIPT_DIR/i2pversion_override"
|
|
fi
|
|
|
|
. "$SCRIPT_DIR/config.sh"
|
|
|
|
if [ -f config_overide.sh ]; then
|
|
. "$SCRIPT_DIR/config_override.sh"
|
|
fi
|
|
|
|
. "$HOME/github-release-config.sh"
|
|
|
|
TODAYSDATE=$(date -d '-1 day' '+%Y%d%m')
|
|
|
|
echo github-release download -u "$GITHUB_USERNAME" -r "i2p.firefox" -n "I2P.zip" -t "$TODAYSDATE"
|
|
github-release download -u "$GITHUB_USERNAME" -r "i2p.firefox" -n "I2P.zip" -t "$TODAYSDATE"
|
|
tar xvf I2P.zip |