update preimagedata.sh ubuntu20

This commit is contained in:
Aleksandr Chebotov
2020-05-14 17:09:27 +03:00
parent 99579f621d
commit 2ab2f90a8e

View File

@@ -6,6 +6,10 @@ os_name=$(lsb_release -ds | sed "s/ /\\\n/g")
image_label="ubuntu-$(lsb_release -rs)" image_label="ubuntu-$(lsb_release -rs)"
github_url="https://github.com/actions/virtual-environments/blob" 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"
fi
if [[ "$image_label" =~ "ubuntu-18" ]]; then if [[ "$image_label" =~ "ubuntu-18" ]]; then
software_url="${github_url}/ubuntu18/${image_version}/images/linux/Ubuntu1804-README.md" software_url="${github_url}/ubuntu18/${image_version}/images/linux/Ubuntu1804-README.md"
fi fi