fix(Chart): escape changelog messages for artifacthub
Some checks failed
Helm / helm-unittest (push) Successful in 17s
Helm / helm-lint (push) Successful in 24s
Release / publish-chart (push) Failing after 18s

This commit is contained in:
2025-06-06 22:01:04 +02:00
parent c9a45d8040
commit 863c3a30c1
2 changed files with 16 additions and 12 deletions

View File

@ -14,7 +14,7 @@ jobs:
- name: Install tooling
run: |
apk update
apk add git npm yq
apk add git npm jq yq
- uses: actions/checkout@v4
with:
@ -22,8 +22,8 @@ jobs:
- name: Add Artifacthub.io annotations
run: |
NEW_TAG="$(git tag --sort=-version:refname | head -n 1)"
OLD_TAG="$(git tag --sort=-version:refname | head -n 2 | tail -n 1)"
NEW_TAG="$(git tag --sort=-version:refname | head --lines 1)"
OLD_TAG="$(git tag --sort=-version:refname | head --lines 2 | tail --lines 1)"
.gitea/scripts/add-annotations.sh "${OLD_TAG}" "${NEW_TAG}"
- name: Package chart
@ -51,4 +51,4 @@ jobs:
# gitea
helm repo add --username ${REPOSITORY_OWNER} --password ${GITEA_PACKAGE_REGISTRY_TOKEN} gitea ${GITEA_SERVER_URL}/api/packages/${REPOSITORY_OWNER}/helm
helm cm-push ${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz gitea
helm repo remove gitea
helm repo remove gitea