diff --git a/publish.cmd b/publish.cmd index f409653e0..c148bea46 100755 --- a/publish.cmd +++ b/publish.cmd @@ -6,7 +6,9 @@ dotnet restore --force-evaluate GOTO :CMDSCRIPT ::SHELLSCRIPT -if [[ $(uname) = "Darwin" ]]; then +if [[ $1 ]]; then + r="-r $1-x64" +elif [[ $(uname) = "Darwin" ]]; then r="-r osx-x64" elif [[ -f /etc/os-release ]]; then . /etc/os-release