fix: correct typo in release pipeline

This commit is contained in:
kjeld Schouten-Lebbing
2021-09-11 13:10:31 +02:00
parent 3e67e1c977
commit 7cd88d5f43
+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="${tag%%@sha256:}"
tag="${tag:-auto}"
tag="${tag#*release-}"
tag="${tag#*version-}"