fix: use correct appversion string

This commit is contained in:
kjeld Schouten-Lebbing
2021-09-11 21:39:25 +02:00
parent bb0a9c4236
commit fd29f5d9f0
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ sync_tag() {
local chartversion="$4"
echo "Attempting to sync primary tag with appversion for: ${chartname}"
local tag="$(cat ${chart}/values.yaml | grep '^ tag: ' | awk -F" " '{ print $2 }' | head -1)"
tag="${tag%%@sha256:}"
tag="${tagt%%@*}"
tag="${tag:-auto}"
tag="${tag#*release-}"
tag="${tag#*version-}"