[molecules] migrate hardcoded release version to SABAYON_RELEASE env var
This commit is contained in:
@@ -44,7 +44,7 @@ cp "${grub_source}" "${grub_destination}" || exit 1
|
||||
"${SABAYON_MOLECULE_HOME}"/scripts/make_grub_efi.sh || exit 1
|
||||
|
||||
ver=${RELEASE_VERSION}
|
||||
[[ -z "${ver}" ]] && ver=${CUR_DATE}
|
||||
[[ -z "${ver}" ]] && ver=${SABAYON_RELEASE}
|
||||
[[ -z "${ver}" ]] && ver="6"
|
||||
|
||||
sed -i "s/__VERSION__/${ver}/g" "${isolinux_destination}" || exit 1
|
||||
|
||||
Reference in New Issue
Block a user