mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-28 03:42:09 +00:00
Merge pull request #10879 from nubificus/fix_version
packaging(release): Properly handle version tag for the release bundle
This commit is contained in:
commit
469c651fc0
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user