From 997daac4e6c773fc2b9db0bf74e2c5d9a32f5ffe Mon Sep 17 00:00:00 2001 From: Eric Fennis Date: Sun, 16 May 2021 12:26:10 +0200 Subject: [PATCH] update shell script --- .github/workflows/version-up.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/version-up.sh b/.github/workflows/version-up.sh index 9a4bf2e52..32892478e 100755 --- a/.github/workflows/version-up.sh +++ b/.github/workflows/version-up.sh @@ -4,7 +4,7 @@ ## get highest version tag for all branches function highest_tag(){ - local TAG=$(git tag --list 2>/dev/null | tail -n1 2>/dev/null) + local TAG=$(git describe --tags `git rev-list --tags --max-count=1`) echo "$TAG" }