From 5a68fb9658dc1916536ca3f4a7c371af4fdb1f3a Mon Sep 17 00:00:00 2001 From: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com> Date: Thu, 18 Mar 2021 09:42:04 +0300 Subject: [PATCH] fix variable name (#2964) --- images/linux/scripts/installers/preimagedata.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/images/linux/scripts/installers/preimagedata.sh b/images/linux/scripts/installers/preimagedata.sh index 39af5178..126d6a95 100644 --- a/images/linux/scripts/installers/preimagedata.sh +++ b/images/linux/scripts/installers/preimagedata.sh @@ -8,17 +8,17 @@ github_url="https://github.com/actions/virtual-environments/blob" if [[ "$image_label" =~ "ubuntu-20" ]]; then software_url="${github_url}/ubuntu20/${image_version}/images/linux/Ubuntu2004-README.md" - releaseUrl="https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F${imageVersion}" + releaseUrl="https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F${image_version}" fi if [[ "$image_label" =~ "ubuntu-18" ]]; then software_url="${github_url}/ubuntu18/${image_version}/images/linux/Ubuntu1804-README.md" - releaseUrl="https://github.com/actions/virtual-environments/releases/tag/ubuntu18%2F${imageVersion}" + releaseUrl="https://github.com/actions/virtual-environments/releases/tag/ubuntu18%2F${image_version}" fi if [[ "$image_label" =~ "ubuntu-16" ]]; then software_url="${github_url}/ubuntu16/${image_version}/images/linux/Ubuntu1604-README.md" - releaseUrl="https://github.com/actions/virtual-environments/releases/tag/ubuntu16%2F${imageVersion}" + releaseUrl="https://github.com/actions/virtual-environments/releases/tag/ubuntu16%2F${image_version}" fi cat < $imagedata_file