fix(ci): do full clone to get tag history

This commit is contained in:
Luke Tainton 2025-01-01 01:22:26 +00:00
parent 204f10529d
commit 9c46b45648
Signed by: luke
SSH Key Fingerprint: SHA256:D34npKT7UaiT/7gULqu7EPSLWWVAjTjXf4kKfJ/fQBo

View File

@ -36,8 +36,7 @@ jobs:
- name: Get latest tag - name: Get latest tag
id: latesttag id: latesttag
run: | run: |
git fetch --tags LATESTTAG=$(git describe --tags --abbrev=0)
LATESTTAG=$(git -C ${{ gitea.workspace }} describe --tags --abbrev=0)
echo "latesttag=$LATESTTAG" >> "$GITEA_OUTPUT" echo "latesttag=$LATESTTAG" >> "$GITEA_OUTPUT"
test: test: