Merge pull request #10879 from nubificus/fix_version

packaging(release): Properly handle version tag for the release bundle
This commit is contained in:
Steve Horsman 2025-02-14 14:40:37 +00:00 committed by GitHub
commit 469c651fc0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,7 +32,7 @@ pushd ${tarball_content_dir}
shim_path=$(find . -name ${shim} | sort | head -1)
prefix=${shim_path%"bin/${shim}"}
echo "$(git describe)" > ${prefix}/VERSION
echo "$(git describe --tags)" > ${prefix}/VERSION
[[ -n "${kata_versions_yaml_file}" ]] && cp ${kata_versions_yaml_file_path} ${prefix}/
popd