mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-26 02:24:21 +01:00
Althought, we changed the script "gen_versions_txt.sh" to accept a tag rather than a branch, this change is not sufficient. This script generates the right version file based on a tag, but function `get_from_kata_deps` does not use this, and ends up using the master branch instead. This is because this function looks at an env variable called $BRANCH and ends up using master branch if the variable is not defined. Pass the tag/new version to the build scripts, so that this tag is passed along to `get_from_kata_dep`. With this change, the correct version information is consumed by the build scripts for the various hypervisors and kernel. Fixes #831 Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>