fix(ci): fix getting latest tag

This commit is contained in:
Luke Tainton 2025-01-01 01:17:01 +00:00
parent 8ccd60219f
commit e8de18d5c3
Signed by: luke
SSH Key Fingerprint: SHA256:D34npKT7UaiT/7gULqu7EPSLWWVAjTjXf4kKfJ/fQBo

View File

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