#!/usr/bin/bash TARGET=$1 if [ -z "$TARGET" ]; then echo "The target platform was not provided." exit 1 fi dotnet publish --self-contained -r "$TARGET" zip -vr "releases/m4g-$TARGET.zip" "bin/Release/net8.0/$TARGET/"