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
No known key found for this signature in database
GPG Key ID: 4CDAD4A532BC1EDB
3 changed files with 3 additions and 3 deletions

View File

@ -33,4 +33,4 @@ sources:
- https://github.com/nextcloud/docker
- https://github.com/nextcloud/helm
type: application
version: 4.0.4
version: 4.0.5

View File

@ -25,4 +25,4 @@ name: postgresql
sources:
- https://www.postgresql.org/
type: application
version: 2.1.0
version: 2.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-}"