release: Allow functions to take release versions

Allow functions to take release tags

Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
This commit is contained in:
Archana Shinde 2019-10-17 15:45:36 -07:00 committed by Eric Ernst
parent 6c8df7fc3d
commit dc8fe05654

View File

@ -92,6 +92,7 @@ verify_hub() {
#Install guest image/initrd asset
install_image() {
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')
@ -180,6 +181,7 @@ install_docker_config_script() {
#Install all components that are not assets
install_kata_components() {
kata_version=${1:-kata_version}
for p in "${projects[@]}"; do
echo "Download ${p}"
go get "github.com/${project}/$p" || true