Compare commits

...

2 Commits

Author SHA1 Message Date
eyedeekay
f3be223cfe fix buildscript
Some checks are pending
Java CI / build (push) Waiting to run
Java CI / build-22 (push) Waiting to run
Release / build (push) Waiting to run
Sync Primary Repository to GitHub Mirror / sync (push) Waiting to run
2025-06-30 10:13:19 -04:00
eyedeekay
3252ce20d1 fix buildscript
Some checks are pending
Java CI / build (push) Waiting to run
Java CI / build-22 (push) Waiting to run
Release / build (push) Waiting to run
Sync Primary Repository to GitHub Mirror / sync (push) Waiting to run
2025-06-30 10:00:49 -04:00

View File

@@ -1,7 +1,7 @@
#!/bin/bash
set -e
git describe --tags `git rev-list --tags --max-count=1` || exit 1
export GITHUB_TAG=$(git describe --tags `git rev-list --tags --max-count=1` | sed 's|i2p||g' | tr -d a-z-)
export GITHUB_TAG=$(git describe --tags `git rev-list --tags --max-count=1` | sed 's|i2p||g' | tr -d a-z- | cut -d 3 -f 1,2,3)
if echo "$GITHUB_TAG" | grep -q '.\..\..'; then
PUBLISH_VERSION="$GITHUB_TAG"
@@ -74,7 +74,7 @@ I2P_SRC_BASE=$HERE/i2p.i2p/
rm -rf "$I2P_SRC"
if [ ! -d "$I2P_SRC_BASE" ]; then
git clone https://i2pgit.org/i2p-hackers/i2p.i2p "$I2P_SRC_BASE"
git clone https://i2pgit.org/I2P_Developers/i2p.i2p "$I2P_SRC_BASE"
fi
cd "$I2P_SRC_BASE" && git pull --tags && cd "$HERE"
git clone -b "$I2P_VERSION" "$I2P_SRC_BASE" "$I2P_SRC"