From be8181c97a0f2db07da7df4c29bf26fc5b985601 Mon Sep 17 00:00:00 2001 From: notfood Date: Sat, 2 Dec 2023 11:55:42 -0500 Subject: [PATCH] Fix missing build from workflows; Rename --- .github/workflows/publish-release.yml | 4 ++-- workshop_bundler.sh => release_bundler.sh | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) rename workshop_bundler.sh => release_bundler.sh (55%) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 0f79496a..8c8a17f8 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -22,7 +22,7 @@ jobs: dotnet-version: 7.0.x - name: Run workshop bundler - run: ./workshop_bundler.sh + run: ./release_bundler.sh - uses: "marvinpinto/action-automatic-releases@latest" with: @@ -31,4 +31,4 @@ jobs: automatic_release_tag: "latest" title: "Multiplayer Compatibility" files: | - Multiplayer-Compatibility.zip \ No newline at end of file + Multiplayer-Compatibility.zip diff --git a/workshop_bundler.sh b/release_bundler.sh similarity index 55% rename from workshop_bundler.sh rename to release_bundler.sh index c5174b0f..171feea0 100755 --- a/workshop_bundler.sh +++ b/release_bundler.sh @@ -1,16 +1,18 @@ #!/bin/bash cd Source -dotnet build --configuration Release +dotnet build -c Release +cd ../Source_Referenced +dotnet build -c Release cd .. rm -rf Multiplayer-Compatibility/ mkdir -p Multiplayer-Compatibility -cp -r About Assemblies Referenced 1.3 Multiplayer-Compatibility +cp -r About Assemblies Referenced Multiplayer-Compatibility # Zip for Github releases rm -f Multiplayer-Compatibility.zip zip -r -q Multiplayer-Compatibility.zip Multiplayer-Compatibility -echo "Ok, $PWD/Multiplayer-Compatibility.zip ready for uploading to Workshop" \ No newline at end of file +echo "Ok, $PWD/Multiplayer-Compatibility.zip ready"