fix(ci): do full clone to get tag history
This commit is contained in:
parent
204f10529d
commit
9c46b45648
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user