chore(ci): enforce to checkout git tag
This commit is contained in:
parent
6425930268
commit
9cd56ac7f6
@ -20,7 +20,7 @@ jobs:
|
||||
|
||||
- name: Add Artifacthub.io annotations
|
||||
run: |
|
||||
git fetch --unshallow --tags
|
||||
git fetch --unshallow --tags --force
|
||||
|
||||
NEW_TAG="$(git describe --abbrev=0)"
|
||||
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