11 Commits

Author SHA1 Message Date
eyedeekay
fa6ebc8b94 pull tags 2024-07-21 23:20:55 -04:00
eyedeekay
08cec51dce disable fetch-tags 2024-07-21 23:14:48 -04:00
eyedeekay
6b493c8832 Don't pull tags in build.sh, if you're running locally you have them, let the CI file do it 2024-07-21 01:31:02 -04:00
eyedeekay
60a9fb156e run with a trailing qualifier on the tag 2024-07-21 00:27:56 -04:00
eyedeekay
14b66d8f25 try listing all tags across all branches 2024-07-21 00:16:07 -04:00
eyedeekay
3e993e72c6 try fetch-tags=true 2024-07-21 00:12:41 -04:00
eyedeekay
78339ad6eb try --always 2024-07-21 00:09:10 -04:00
eyedeekay
0cf574156a break on broken tags 2024-07-21 00:06:55 -04:00
eyedeekay
6a63970a7f fix tag read part of script 2024-07-20 23:44:59 -04:00
eyedeekay
b74e3ec5a5 Make sure tags are pulled before running build.sh 2024-07-20 23:36:36 -04:00
eyedeekay
5d0b85e869 Fix CI file 2024-07-20 23:34:28 -04:00
2 changed files with 5 additions and 3 deletions

View File

@@ -6,7 +6,8 @@ on:
push:
# Sequence of patterns matched against refs/tags
tags:
- '*.*.*' # Release 1.2.3
- 'i2p-mac-*.*.*' # Release 1.2.3
- 'i2p-mac-*.*.*-*' # Release 1.2.3
jobs:
build:

View File

@@ -1,7 +1,8 @@
#!/bin/bash
set -e
export GITHUB_TAG=$(git describe --tags --abbrev=0 | sed 's|i2p||g' | tr -d [a-z-])
git pull --tags
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"