From 08565d26336f19fa4236408a0cd4df4fb602ae5c Mon Sep 17 00:00:00 2001 From: Pete Bentley Date: Mon, 6 Oct 2025 17:21:38 +0100 Subject: [PATCH] Update publishLocalUber script for Windows. Needs Git bash but otherwise runs and tests fine. --- scripts/publishLocalUber.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/publishLocalUber.sh b/scripts/publishLocalUber.sh index 3c5b92d1c..208abccb5 100755 --- a/scripts/publishLocalUber.sh +++ b/scripts/publishLocalUber.sh @@ -34,15 +34,19 @@ die() { exit 1 } -case $(uname -s) in +PLATFORM=$(uname -s) +case "$PLATFORM" in Darwin) CLASSIFIERS="osx-x86_64,osx-aarch_64" ;; Linux) CLASSIFIERS="linux-x86_64" ;; + MINGW64*) + CLASSIFIERS="windows-x86_64" + ;; *) - die "TODO: Finish this switch statement" + die "Unsupported platform: $PLATFORM" ;; esac