From e7f2ed17f408c1bce60a92bcf390e9056a92e744 Mon Sep 17 00:00:00 2001 From: "John L. Armstrong IV" <20903247+jlarmstrongiv@users.noreply.github.com> Date: Sun, 1 Sep 2024 11:46:47 -0600 Subject: [PATCH] fix: self-contained binaries --- build.sh | 28 ++++++++++++++-------------- bunny-sdk.csproj | 5 ++++- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/build.sh b/build.sh index 2bc2f20..dfcb2e9 100755 --- a/build.sh +++ b/build.sh @@ -13,20 +13,20 @@ dotnet publish --runtime win-arm64 dotnet publish --runtime win-x64 dotnet publish --runtime win-x86 -gzip -k 'bin/Release/net8.0/osx-arm64/bunny-sdk' -gzip -k 'bin/Release/net8.0/osx-x64/bunny-sdk' -gzip -k 'bin/Release/net8.0/linux-arm64/bunny-sdk' -gzip -k 'bin/Release/net8.0/linux-x64/bunny-sdk' -gzip -k 'bin/Release/net8.0/win-arm64/bunny-sdk.exe' -gzip -k 'bin/Release/net8.0/win-x64/bunny-sdk.exe' -gzip -k 'bin/Release/net8.0/win-x86/bunny-sdk.exe' +gzip -k 'bin/Release/net8.0/osx-arm64/publish/bunny-sdk' +gzip -k 'bin/Release/net8.0/osx-x64/publish/bunny-sdk' +gzip -k 'bin/Release/net8.0/linux-arm64/publish/bunny-sdk' +gzip -k 'bin/Release/net8.0/linux-x64/publish/bunny-sdk' +gzip -k 'bin/Release/net8.0/win-arm64/publish/bunny-sdk.exe' +gzip -k 'bin/Release/net8.0/win-x64/publish/bunny-sdk.exe' +gzip -k 'bin/Release/net8.0/win-x86/publish/bunny-sdk.exe' rm -rf build mkdir build -mv 'bin/Release/net8.0/osx-arm64/bunny-sdk.gz' 'build/bunny-sdk-osx-arm64.gz' -mv 'bin/Release/net8.0/osx-x64/bunny-sdk.gz' 'build/bunny-sdk-osx-x64.gz' -mv 'bin/Release/net8.0/linux-arm64/bunny-sdk.gz' 'build/bunny-sdk-linux-arm64.gz' -mv 'bin/Release/net8.0/linux-x64/bunny-sdk.gz' 'build/bunny-sdk-linux-x64.gz' -mv 'bin/Release/net8.0/win-arm64/bunny-sdk.exe.gz' 'build/bunny-sdk-win-arm64.gz' -mv 'bin/Release/net8.0/win-x64/bunny-sdk.exe.gz' 'build/bunny-sdk-win-x64.gz' -mv 'bin/Release/net8.0/win-x86/bunny-sdk.exe.gz' 'build/bunny-sdk-win-x86.gz' \ No newline at end of file +mv 'bin/Release/net8.0/osx-arm64/publish/bunny-sdk.gz' 'build/bunny-sdk-osx-arm64.gz' +mv 'bin/Release/net8.0/osx-x64/publish/bunny-sdk.gz' 'build/bunny-sdk-osx-x64.gz' +mv 'bin/Release/net8.0/linux-arm64/publish/bunny-sdk.gz' 'build/bunny-sdk-linux-arm64.gz' +mv 'bin/Release/net8.0/linux-x64/publish/bunny-sdk.gz' 'build/bunny-sdk-linux-x64.gz' +mv 'bin/Release/net8.0/win-arm64/publish/bunny-sdk.exe.gz' 'build/bunny-sdk-win-arm64.gz' +mv 'bin/Release/net8.0/win-x64/publish/bunny-sdk.exe.gz' 'build/bunny-sdk-win-x64.gz' +mv 'bin/Release/net8.0/win-x86/publish/bunny-sdk.exe.gz' 'build/bunny-sdk-win-x86.gz' \ No newline at end of file diff --git a/bunny-sdk.csproj b/bunny-sdk.csproj index 4f8b2ce..ec7853b 100644 --- a/bunny-sdk.csproj +++ b/bunny-sdk.csproj @@ -1,12 +1,15 @@  - 0.0.5 + 0.0.6 false Exe net8.0 true true + true + true + true bunny_sdk_cli enable enable