mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-07-14 09:33:22 +01:00
Add bad BYOND build 515.1617
This commit is contained in:
@@ -113,11 +113,11 @@ jobs:
|
||||
echo "EDGE version evaluated to $FULL_VERSION"
|
||||
|
||||
# Also needs updating in ByondTest.cs
|
||||
declare -A missing_linux_releases=([515.1612]="515.1611")
|
||||
declare -A bad_linux_releases=([515.1612]="515.1611" [515.1617]="515.1616")
|
||||
|
||||
if [[ -n "${missing_linux_releases[$FULL_VERSION]}" ]] ; then
|
||||
echo "$FULL_VERSION does not have a linux zip, falling back to ${missing_linux_releases[$FULL_VERSION]}"
|
||||
FULL_VERSION=${missing_linux_releases[$FULL_VERSION]}
|
||||
if [[ -n "${bad_linux_releases[$FULL_VERSION]}" ]] ; then
|
||||
echo "$FULL_VERSION does not have a linux zip, falling back to ${bad_linux_releases[$FULL_VERSION]}"
|
||||
FULL_VERSION=${bad_linux_releases[$FULL_VERSION]}
|
||||
fi
|
||||
fi
|
||||
if [[ ! -f $HOME/byond-zips-cache/linux/$FULL_VERSION.zip ]] ; then
|
||||
|
||||
@@ -62,7 +62,7 @@ namespace Tgstation.Server.Tests.Live.Instance
|
||||
|
||||
var targetVersion = splits.Last();
|
||||
|
||||
var missingVersionMap = new PlatformIdentifier().IsWindows
|
||||
var badVersionMap = new PlatformIdentifier().IsWindows
|
||||
? new Dictionary<string, string>()
|
||||
{
|
||||
}
|
||||
@@ -72,7 +72,9 @@ namespace Tgstation.Server.Tests.Live.Instance
|
||||
{ "515.1612", "515.1611" }
|
||||
};
|
||||
|
||||
if (missingVersionMap.TryGetValue(targetVersion, out var remappedVersion))
|
||||
badVersionMap.Add("515.1617", "515.1616");
|
||||
|
||||
if (badVersionMap.TryGetValue(targetVersion, out var remappedVersion))
|
||||
targetVersion = remappedVersion;
|
||||
|
||||
return edgeVersion = Version.Parse(targetVersion);
|
||||
|
||||
Reference in New Issue
Block a user