From 9c46b456481aca37ff5d696782bdd75ad7d7ea07 Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Wed, 1 Jan 2025 01:22:26 +0000 Subject: [PATCH] fix(ci): do full clone to get tag history --- .gitea/workflows/release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index d5a1c16..67d24be 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -36,8 +36,7 @@ jobs: - name: Get latest tag id: latesttag run: | - git fetch --tags - LATESTTAG=$(git -C ${{ gitea.workspace }} describe --tags --abbrev=0) + LATESTTAG=$(git describe --tags --abbrev=0) echo "latesttag=$LATESTTAG" >> "$GITEA_OUTPUT" test: