add link to image release (#2783)

This commit is contained in:
Dibir Magomedsaygitov
2021-02-25 14:22:57 +03:00
committed by GitHub
parent d707864e45
commit fdea69d18f
3 changed files with 9 additions and 3 deletions

View File

@@ -11,6 +11,7 @@ label_version=$(echo $os_version | cut -d. -f1,2)
image_label="macos-${label_version}"
release_label="macOS-${label_version}"
software_url="https://github.com/actions/virtual-environments/blob/${release_label}/${image_version}/images/macos/${image_label}-Readme.md"
releaseUrl="https://github.com/actions/virtual-environments/releases/tag/${release_label}%2F${image_version}"
cat <<EOF > $imagedata_file
[
@@ -20,7 +21,7 @@ cat <<EOF > $imagedata_file
},
{
"group": "Virtual Environment",
"detail": "Environment: ${image_label}\nVersion: ${image_version}\nIncluded Software: ${software_url}"
"detail": "Environment: ${image_label}\nVersion: ${image_version}\nIncluded Software: ${software_url}\nImage Release: ${releaseUrl}"
}
]
EOF