Compare commits

...

10 Commits

Author SHA1 Message Date
idk
d09c5c011d Update sync.yaml
Some checks are pending
Java CI / build (push) Waiting to run
Java CI / build-22 (push) Waiting to run
Sync Primary Repository to GitHub Mirror / sync (push) Waiting to run
2025-07-17 23:11:56 +00:00
eyedeekay
f15d8d7d4f debug buildscript 2025-06-30 16:40:23 -04:00
eyedeekay
207cea61a1 debug buildscript 2025-06-30 16:24:49 -04:00
eyedeekay
905b50c68e debug buildscript 2025-06-30 16:23:46 -04:00
eyedeekay
5e88259056 debug buildscript 2025-06-30 16:21:47 -04:00
eyedeekay
c4c2a40a5c debug buildscript 2025-06-30 15:02:11 -04:00
eyedeekay
45d3e62157 debug buildscript 2025-06-30 14:37:23 -04:00
eyedeekay
18da568153 fix buildscript 2025-06-30 13:53:22 -04:00
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
2 changed files with 4 additions and 4 deletions

View File

@@ -62,5 +62,5 @@ name: Sync Primary Repository to GitHub Mirror
"on":
push: {}
schedule:
- cron: 0 * * * *
- cron: 0 0 * * *
workflow_dispatch: {}

View File

@@ -1,8 +1,8 @@
#!/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 -E -e 's/-[0-9]+$//' | sed 's|i2p||g' | tr -d a-z-)
echo "tag is: $GITHUB_TAG"
if echo "$GITHUB_TAG" | grep -q '.\..\..'; then
PUBLISH_VERSION="$GITHUB_TAG"
else
@@ -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"