chore(ci): use PCRE of sed

This commit is contained in:
Markus Pesch 2025-01-19 21:54:53 +01:00
parent d7755e201c
commit ed2eeca229
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982

View File

@ -29,7 +29,7 @@ jobs:
GITEA_SERVER_URL: ${{ github.server_url }} GITEA_SERVER_URL: ${{ github.server_url }}
run: | run: |
PACKAGE_VERSION=${GITHUB_REF#refs/tags/} PACKAGE_VERSION=${GITHUB_REF#refs/tags/}
REPOSITORY_NAME=$(echo ${GITHUB_REPOSITORY} | cut -d '/' -f 2 | sed 's/-charts?//gm') REPOSITORY_NAME=$(echo ${GITHUB_REPOSITORY} | cut -d '/' -f 2 | sed --regexp-extended 's/-charts?//gm')
REPOSITORY_OWNER=$(echo ${GITHUB_REPOSITORY} | cut -d '/' -f 1) REPOSITORY_OWNER=$(echo ${GITHUB_REPOSITORY} | cut -d '/' -f 1)
helm dependency build helm dependency build