fix(ci): check of chart version
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Markus Pesch 2024-05-30 16:30:58 +02:00
parent e1b7f97791
commit 27b291646f
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982

View File

@ -85,7 +85,7 @@ steps:
- name: release-helm-chart - name: release-helm-chart
commands: commands:
- grep --only-matching 'version:"${DRONE_TAG}"' Chart.yaml || echo "Version ${DRONE_TAG} not found in Chart.yaml" - grep -o 'version:"${DRONE_TAG}"' Chart.yaml || echo "Version ${DRONE_TAG} not found in Chart.yaml"
- helm repo add drone https://charts.cryptic.systems/drone - helm repo add drone https://charts.cryptic.systems/drone
- helm package --version ${DRONE_TAG} . - helm package --version ${DRONE_TAG} .
- helm cm-push ${DRONE_REPO_NAME%-charts}-${DRONE_TAG}.tgz drone - helm cm-push ${DRONE_REPO_NAME%-charts}-${DRONE_TAG}.tgz drone