Merge pull request #794 from amshinde/fix-version-evaluation

release: Fix bug in evaluation kata_version.
This commit is contained in:
James O. D. Hunt
2019-11-11 10:40:07 +00:00
committed by GitHub

View File

@@ -92,7 +92,7 @@ verify_hub() {
#Install guest image/initrd asset
install_image() {
kata_version=${1:-kata_version}
kata_version=${1:-$kata_version}
image_destdir="${destdir}/${prefix}/share/kata-containers/"
info "Create image"
image_tarball=$(find . -name 'kata-containers-'"${kata_version}"'-*.tar.gz')
@@ -181,7 +181,7 @@ install_docker_config_script() {
#Install all components that are not assets
install_kata_components() {
kata_version=${1:-kata_version}
kata_version=${1:-$kata_version}
for p in "${projects[@]}"; do
echo "Download ${p}"
go get "github.com/${project}/$p" || true