aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDev containers Bot <126614555+devcontainers-bot@users.noreply.github.com>2023-11-14 20:56:03 +0300
committerGitHub <noreply@github.com>2023-11-14 20:56:03 +0300
commitd53b9d1816bac7a62f9ba5f20723eef428042d1f (patch)
treef7e713566c82f25920faf0c3050331634449bba9
parent710103a6382810faade9f37f180bac038c8f38aa (diff)
[Updates] Automated vendor dotnet-install script (#750)
* Automated dotnet-install script update * Bump version --------- Co-authored-by: github-actions <github-actions@github.com>
-rw-r--r--src/dotnet/devcontainer-feature.json2
-rwxr-xr-xsrc/dotnet/scripts/vendor/dotnet-install.sh7
2 files changed, 7 insertions, 2 deletions
diff --git a/src/dotnet/devcontainer-feature.json b/src/dotnet/devcontainer-feature.json
index 6585afb..b9c7260 100644
--- a/src/dotnet/devcontainer-feature.json
+++ b/src/dotnet/devcontainer-feature.json
@@ -1,6 +1,6 @@
{
"id": "dotnet",
- "version": "2.0.1",
+ "version": "2.0.2",
"name": "Dotnet CLI",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/dotnet",
"description": "This Feature installs the latest .NET SDK, which includes the .NET CLI and the shared runtime. Options are provided to choose a different version or additional versions.",
diff --git a/src/dotnet/scripts/vendor/dotnet-install.sh b/src/dotnet/scripts/vendor/dotnet-install.sh
index 4547589..b350ad4 100755
--- a/src/dotnet/scripts/vendor/dotnet-install.sh
+++ b/src/dotnet/scripts/vendor/dotnet-install.sh
@@ -423,8 +423,13 @@ get_normalized_os() {
echo "$osname"
return 0
;;
+ macos)
+ osname='osx'
+ echo "$osname"
+ return 0
+ ;;
*)
- say_err "'$user_defined_os' is not a supported value for --os option, supported values are: osx, linux, linux-musl, freebsd, rhel.6. If you think this is a bug, report it at https://github.com/dotnet/install-scripts/issues."
+ say_err "'$user_defined_os' is not a supported value for --os option, supported values are: osx, macos, linux, linux-musl, freebsd, rhel.6. If you think this is a bug, report it at https://github.com/dotnet/install-scripts/issues."
return 1
;;
esac