We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab183b5 commit 800d17eCopy full SHA for 800d17e
1 file changed
.github/workflows/helm-oci-package-ghcr.yaml
@@ -37,6 +37,8 @@ jobs:
37
APP_VERSION=$(git describe --tags --exact-match ${{ github.sha }} 2>/dev/null || echo "")
38
if [ -n "$APP_VERSION" ]; then
39
VERSION=$(echo -n "$APP_VERSION" | sed -E 's/^v//')
40
+ else
41
+ VERSION=$((git describe --tags --abbrev=0 2>/dev/null | sed -E 's/^v//') || echo "")
42
fi
43
44
# use the git sha as app-version, if no version could be detected from the tags
0 commit comments