Compare commits

...

3 Commits

Author SHA1 Message Date
be667bad1d
refac(ci): cleanup GitHub Actions
Some checks failed
Helm / helm-unittest (push) Successful in 13s
Helm / helm-lint (push) Successful in 15s
Release / publish-chart (push) Failing after 26s
2025-06-03 21:34:02 +02:00
01614570f7
fix(scripts): adapt script parameter list
Some checks failed
Helm / helm-lint (push) Successful in 14s
Helm / helm-unittest (push) Successful in 16s
Release / publish-chart (push) Failing after 14s
2025-06-03 21:32:28 +02:00
6de5e9aa48
chore(ci): use actions/checkout to fetch tags
Some checks failed
Helm / helm-lint (push) Successful in 15s
Helm / helm-unittest (push) Successful in 13s
Release / publish-chart (push) Failing after 15s
2025-06-03 21:26:55 +02:00
2 changed files with 4 additions and 4 deletions

View File

@ -33,7 +33,7 @@ else
fi
fi
if [ -z "${1}" ]; then
if [ -z "${2}" ]; then
read -p "Enter end tag [${DEFAULT_NEW_TAG}]: " NEW_TAG
if [ -z "${NEW_TAG}" ]; then
NEW_TAG="${DEFAULT_NEW_TAG}"
@ -47,7 +47,7 @@ if [ -z "${1}" ]; then
fi
done
else
NEW_TAG=${1}
NEW_TAG=${2}
if [ -z "$(git tag --list "${NEW_TAG}")" ]; then
echo "ERROR: Tag '${NEW_TAG}' not found!"

View File

@ -17,11 +17,11 @@ jobs:
apk add git npm yq
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Add Artifacthub.io annotations
run: |
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)")"