(ci) deal with text after version number on tags
This commit is contained in:
parent
1e6ab227b8
commit
0953bc3308
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue