Oneliner for getting version
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing

This commit is contained in:
2025-10-03 23:36:23 -04:00
parent f510eb1f77
commit fc043fc770

View File

@@ -68,13 +68,7 @@ steps:
# Compute semver (strip leading "v" if present)
- |
TAG="${DRONE_TAG}"
if echo "$TAG" | grep -qE '^v[0-9]'; then
VERSION="${TAG#v}"
else
VERSION="${TAG}"
fi
echo "Using version: $VERSION"
VERSION="${DRONE_TAG#v}"; echo "Using version: $VERSION"
# Package the chart with version/appVersion = git tag (sans 'v')
- helm package "$CHART_DIR" \