mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-21 21:51:57 +02:00
ci-automation/vms: Export official release variable
The official release variable is used to decide whether a build ID gets appended to the FLATCAR_VERSION (or VERSION in os-release) or not. It was set for the image job but not for the vms job, causing the build_sysext script to get the build ID appended to the FLATCAR_VERSION which causes a mismatch with the one from the image job. Set the official release variable in the vms job as well.
This commit is contained in:
parent
593b62d326
commit
095ab2392e
@ -102,6 +102,14 @@ function _vm_build_impl() {
|
||||
# Keep compatibility with SDK scripts where "equinix_metal" remains unknown.
|
||||
formats=$(echo "$formats" | tr ' ' '\n' | sed 's/equinix_metal/packet/g')
|
||||
|
||||
source sdk_lib/sdk_container_common.sh
|
||||
|
||||
if is_official "${vernum}"; then
|
||||
export COREOS_OFFICIAL=1
|
||||
else
|
||||
export COREOS_OFFICIAL=0
|
||||
fi
|
||||
|
||||
local images_in="images-in/"
|
||||
local file
|
||||
rm -rf "${images_in}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user