From 3db79870188e93e345c2eb9cbb73cdeeb1b5eb10 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Fri, 3 May 2024 07:40:53 +1000 Subject: [PATCH] Try to fix release generation again --- .github/workflows/release.yml | 12 ++++++------ MCGalaxy/Server/Maintenance/Updater.cs | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f72b227e5..560f5fd9b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -68,9 +68,9 @@ jobs: zip $1.zip MCGalaxy.exe sqlite3_x32.dll sqlite3_x64.dll } - make_dotnet_zip net20 - make_dotnet_zip net40 - make_dotnet_zip infid + make_dotnet_zip mcg-net20 + make_dotnet_zip mcg-net40 + make_dotnet_zip mcg-infid mv MCGalaxy mcg_source make_standalone_zip mcg-win64 @@ -91,19 +91,19 @@ jobs: - uses: ./.github/actions/upload_build if: ${{ always() && steps.compile.outcome == 'success' }} with: - SOURCE_FILE: 'net20.zip' + SOURCE_FILE: 'mcg-net20.zip' DEST_NAME: 'mcg-net20.zip' - uses: ./.github/actions/upload_build if: ${{ always() && steps.compile.outcome == 'success' }} with: - SOURCE_FILE: 'net40.zip' + SOURCE_FILE: 'mcg-net40.zip' DEST_NAME: 'mcg-net40.zip' - uses: ./.github/actions/upload_build if: ${{ always() && steps.compile.outcome == 'success' }} with: - SOURCE_FILE: 'infid.zip' + SOURCE_FILE: 'mcg-infid.zip' DEST_NAME: 'mcg-infid.zip' diff --git a/MCGalaxy/Server/Maintenance/Updater.cs b/MCGalaxy/Server/Maintenance/Updater.cs index 54efe276b..f94a31418 100644 --- a/MCGalaxy/Server/Maintenance/Updater.cs +++ b/MCGalaxy/Server/Maintenance/Updater.cs @@ -32,15 +32,15 @@ namespace MCGalaxy const string CurrentVersionURL = BaseURL + "Uploads/current_version.txt"; const string changelogURL = BaseURL + "Changelog.txt"; - const string CRN_URL = "https://cs.classicube.net/c_client/mcg/release/"; + const string CDN_URL = "https://cs.classicube.net/c_client/mcg/release/"; #if NET_20 - const string CDN_BASE = CRN_URL + "net20/"; + const string CDN_BASE = CDN_URL + "net20/"; #else - const string CDN_BASE = CRN_URL + "net40/"; + const string CDN_BASE = CDN_URL + "net40/"; #endif #if MCG_STANDALONE - static string DLL_URL = CRN_URL + IOperatingSystem.DetectOS().StandaloneName; + static string DLL_URL = CDN_URL + IOperatingSystem.DetectOS().StandaloneName; #elif TEN_BIT_BLOCKS const string DLL_URL = CDN_BASE + "MCGalaxy_infid.dll"; #else