Skip to content

Commit c3aa8a8

Browse files
ci: Fix the prefix used for helm chart version (#31)
1 parent 7af8f04 commit c3aa8a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/kubernetes-charts-build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ jobs:
8383
id: version
8484
run: |
8585
if [[ "${GITHUB_REF_TYPE}" == "tag" ]]; then
86-
# Strip the tag prefix chart-
87-
CHART_VERSION="${GITHUB_REF_NAME#helm-charts-}"
86+
# Strip the tag prefix helm-charts-v
87+
CHART_VERSION="${GITHUB_REF_NAME#helm-charts-v}"
8888
else
8989
CHART_VERSION="$DEFAULT_CHART_VERSION"
9090
fi

0 commit comments

Comments
 (0)