Skip to content

Commit 0a1296a

Browse files
committed
🌿 update script to use configVersion
1 parent a7e74d4 commit 0a1296a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎.github/scripts/changelog.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -eu
44

55
CHART_DIR="charts/cert-manager-webhook-ovh"
6-
SCHEMA_VERSION="0.0.1"
6+
CONFIG_VERSION="0.0.1"
77

88
COMMITS_TO_PUSH="$(git log --oneline -- "origin..HEAD" | awk 'END { print NR }')"
99

@@ -26,9 +26,9 @@ fi
2626
if [ -d "$CHART_DIR" ]; then
2727
echo -n "Linting Chart $CHART_DIR: "
2828
# check for helm syntax problems
29-
helm lint "$CHART_DIR" --set "schemaVersion=${SCHEMA_VERSION}" >/dev/null 2>&1 || exit 1
29+
helm lint "$CHART_DIR" --set "configVersion=${CONFIG_VERSION}" >/dev/null 2>&1 || exit 1
3030
# check for any error returned by the chart itself
31-
helm lint "$CHART_DIR" --set "schemaVersion=${SCHEMA_VERSION}" 2>&1 >/dev/null | grep -i 'error' >/dev/null && exit 1
31+
helm lint "$CHART_DIR" --set "configVersion=${CONFIG_VERSION}" 2>&1 >/dev/null | grep -i 'error' >/dev/null && exit 1
3232
echo "passed."
3333
else
3434
echo "Missing '$CHART_DIR'"

0 commit comments

Comments
 (0)