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
|
- 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:
|
||||||
|
Loading…
Reference in New Issue
Block a user