Compare commits
2 Commits
i2p-mac-2.
...
i2p-mac-2.
Author | SHA1 | Date | |
---|---|---|---|
![]() |
f3be223cfe | ||
![]() |
3252ce20d1 |
4
build.sh
4
build.sh
@@ -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"
|
||||
|
Reference in New Issue
Block a user