fix: fix release pipeline picking wrong file for appversion generation

This commit is contained in:
kjeld Schouten-Lebbing 2021-09-08 16:25:58 +02:00
parent a31b4f1b72
commit 072e63f56b
No known key found for this signature in database
GPG Key ID: 4CDAD4A532BC1EDB
2 changed files with 2 additions and 2 deletions

View File

@ -22,4 +22,4 @@ sources:
- https://github.com/traefik/traefik-helm-chart
- https://traefik.io/
type: application
version: 7.1.0
version: 7.1.1

View File

@ -123,7 +123,7 @@ sync_tag() {
local train="$3"
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 }')"
local tag="$(cat ${chart}/values.yaml | grep "^ tag: " | awk -F" " '{ print $2 }')"
tag="${tag:-auto}"
tag="${tag#*release-}"
tag="${tag#*version-}"