Fixed VERSION again
This commit is contained in:
@@ -26,12 +26,6 @@ jobs:
|
||||
set -euo pipefail
|
||||
helm plugin install https://github.com/chartmuseum/helm-push
|
||||
|
||||
- name: Verify Chart.yaml version matches tag
|
||||
run: |
|
||||
set -euo pipefail
|
||||
FILE="Chart.yaml"
|
||||
YAML_VERSION="$(grep '^version:' "$FILE" | awk '{print $2}')"
|
||||
|
||||
- name: Lint and package chart
|
||||
run: |
|
||||
set -euo pipefail
|
||||
@@ -52,6 +46,7 @@ jobs:
|
||||
--password "$HELM_PASSWORD"
|
||||
|
||||
NAME="$(grep '^name:' Chart.yaml | awk '{print $2}')"
|
||||
YAML_VERSION="$(grep '^version:' "$FILE" | awk '{print $2}')"
|
||||
CHART_TGZ="/tmp/${NAME}-${YAML_VERSION}.tgz"
|
||||
if [ ! -f "$CHART_TGZ" ]; then
|
||||
echo "Expected packaged chart not found: $CHART_TGZ"
|
||||
|
||||
Reference in New Issue
Block a user