File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
images/macos/scripts/build Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ source ~/utils/utils.sh
99arch=$( get_arch)
1010imagedata_file=" $HOME /imagedata.json"
1111image_version=$( echo $IMAGE_VERSION | cut -d _ -f 2)
12+ image_version_major=${image_version/ .*/ }
13+ image_version_minor=$( echo $image_version | cut -d " ." -f 2)
1214os_name=$( sw_vers -productName)
1315os_version=$( sw_vers -productVersion)
1416os_build=$( sw_vers -buildVersion)
2022 image_label=" macos-${label_version} "
2123fi
2224
23- software_url=" https://github.com/actions/runner-images/blob/${image_label} /${image_version } /images/macos/${image_label} -Readme.md"
24- releaseUrl=" https://github.com/actions/runner-images/releases/tag/${image_label} %2F${image_version } "
25+ software_url=" https://github.com/actions/runner-images/blob/${image_label} /${image_version_major} . ${image_version_minor } /images/macos/${image_label} -Readme.md"
26+ releaseUrl=" https://github.com/actions/runner-images/releases/tag/${image_label} %2F${image_version_major} . ${image_version_minor }"
2527
2628cat << EOF > $imagedata_file
2729 [
You can’t perform that action at this time.
0 commit comments