Skip to content

Commit

Permalink
Try to fix release generation again
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownShadow200 committed May 2, 2024
1 parent 6a227dd commit 3db7987
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'


Expand Down
8 changes: 4 additions & 4 deletions MCGalaxy/Server/Maintenance/Updater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ public static class Updater
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
Expand Down

0 comments on commit 3db7987

Please sign in to comment.