diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 697cf0f..a0bae74 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -15,12 +15,12 @@ jobs: run: | apk update apk add git npm yq - + - uses: actions/checkout@v4 - name: Add Artifacthub.io annotations run: | - git fetch --prune --unshallow --tags + git fetch --unshallow --tags NEW_TAG="$(git describe --abbrev=0)" OLD_TAG="$(git describe --abbrev=0 --tags "$(git rev-list --tags --skip=1 --max-count=1)")"