chore(ci): enforce to checkout git tag
This commit is contained in:
parent
6425930268
commit
efa145f128
@ -20,7 +20,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Add Artifacthub.io annotations
|
- name: Add Artifacthub.io annotations
|
||||||
run: |
|
run: |
|
||||||
git fetch --unshallow --tags
|
git fetch --unshallow --tags --force
|
||||||
|
|
||||||
NEW_TAG="$(git describe --abbrev=0)"
|
NEW_TAG="$(git describe --abbrev=0)"
|
||||||
OLD_TAG="$(git describe --abbrev=0 --tags "$(git rev-list --tags --skip=1 --max-count=1)")"
|
OLD_TAG="$(git describe --abbrev=0 --tags "$(git rev-list --tags --skip=1 --max-count=1)")"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user