fix: fix release pipeline picking wrong file for appversion generation
This commit is contained in:
@@ -22,4 +22,4 @@ sources:
|
|||||||
- https://github.com/traefik/traefik-helm-chart
|
- https://github.com/traefik/traefik-helm-chart
|
||||||
- https://traefik.io/
|
- https://traefik.io/
|
||||||
type: application
|
type: application
|
||||||
version: 7.1.0
|
version: 7.1.1
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ sync_tag() {
|
|||||||
local train="$3"
|
local train="$3"
|
||||||
local chartversion="$4"
|
local chartversion="$4"
|
||||||
echo "Attempting to sync primary tag with appversion for: ${chartname}"
|
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:-auto}"
|
||||||
tag="${tag#*release-}"
|
tag="${tag#*release-}"
|
||||||
tag="${tag#*version-}"
|
tag="${tag#*version-}"
|
||||||
|
|||||||
Reference in New Issue
Block a user