fix(ci): do full clone to get tag history
This commit is contained in:
parent
bf8010d654
commit
204f10529d
@ -36,7 +36,6 @@ jobs:
|
|||||||
- name: Get latest tag
|
- name: Get latest tag
|
||||||
id: latesttag
|
id: latesttag
|
||||||
run: |
|
run: |
|
||||||
git checkout main
|
|
||||||
git fetch --tags
|
git fetch --tags
|
||||||
LATESTTAG=$(git -C ${{ gitea.workspace }} describe --tags --abbrev=0)
|
LATESTTAG=$(git -C ${{ gitea.workspace }} describe --tags --abbrev=0)
|
||||||
echo "latesttag=$LATESTTAG" >> "$GITEA_OUTPUT"
|
echo "latesttag=$LATESTTAG" >> "$GITEA_OUTPUT"
|
||||||
|
Loading…
Reference in New Issue
Block a user