(ci) deal with text after version number on tags

This commit is contained in:
kjeld Schouten-Lebbing 2021-10-01 16:35:09 +02:00
parent 1e6ab227b8
commit 0953bc3308
No known key found for this signature in database
GPG Key ID: 4CDAD4A532BC1EDB
1 changed files with 1 additions and 0 deletions

View File

@ -202,6 +202,7 @@ sync_tag() {
tag="${tag#*release-}" tag="${tag#*release-}"
tag="${tag#*version-}" tag="${tag#*version-}"
tag="${tag#*v}" tag="${tag#*v}"
tag="${tag%-*}"
tag="${tag:0:10}" tag="${tag:0:10}"
sed -i -e "s|appVersion: .*|appVersion: \"${tag}\"|" "${chart}/Chart.yaml" sed -i -e "s|appVersion: .*|appVersion: \"${tag}\"|" "${chart}/Chart.yaml"
} }