Parse the release from the kiwi config

This commit is contained in:
Davide Cavalca 2023-09-22 19:25:57 -07:00
parent 33c0bf12da
commit 31a7b38df4

View File

@ -28,7 +28,7 @@ newlineToJson() {
printf ']\n' printf ']\n'
} }
release='rawhide' release="$(awk -F'[<>]' '/release-version/ { print $3 }' config.xml)"
if [ -f buildver ]; then if [ -f buildver ]; then
date="$(cat buildver)" date="$(cat buildver)"
else else