Skip to content

Commit

Permalink
try listing all tags across all branches
Browse files Browse the repository at this point in the history
  • Loading branch information
eyedeekay committed Jul 21, 2024
1 parent 3e993e7 commit 14b66d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
set -e

git pull --tags
git describe --tags --always --abbrev=0 || exit 1
export GITHUB_TAG=$(git describe --tags --always --abbrev=0 | sed 's|i2p||g' | tr -d a-z-)
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-)

if [ -z "$I2P_VERSION" ]; then
I2P_VERSION="i2p-$GITHUB_TAG"
Expand Down

0 comments on commit 14b66d8

Please sign in to comment.