fix(ci): check of chart version
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d105c38ca7
commit
e1b7f97791
@ -85,7 +85,7 @@ steps:
|
|||||||
|
|
||||||
- name: release-helm-chart
|
- name: release-helm-chart
|
||||||
commands:
|
commands:
|
||||||
- grep --only-matching 'version:"${DRONE_TAG}"' Chart.yaml 1> /dev/null
|
- grep --only-matching '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
|
||||||
|
Loading…
Reference in New Issue
Block a user