From 1ffb9f22aa5dab93d06a137516dab89f40fdd73f Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Tue, 17 Sep 2024 16:24:02 +0200
Subject: [PATCH] build-release.py fixes from SDL2 port
---
build-scripts/build-release.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/build-scripts/build-release.py b/build-scripts/build-release.py
index fa33c604609af..924792580c6d8 100755
--- a/build-scripts/build-release.py
+++ b/build-scripts/build-release.py
@@ -179,7 +179,7 @@ def _get_file_times(self, paths: tuple[str, ...]) -> dict[str, datetime.datetime
continue
mod_type, file_paths = line.split(maxsplit=1)
assert current_time is not None
- for file_path in file_paths.split():
+ for file_path in file_paths.split("\t"):
if file_path in set_paths and file_path not in path_times:
path_times[file_path] = current_time
assert set(path_times.keys()) == set_paths
@@ -264,7 +264,7 @@ def create_source_archives(self) -> None:
self.artifacts[f"src-tar-{comp}"] = tar_path
def create_xcframework(self, configuration: str="Release") -> None:
- dmg_in = self.root / f"Xcode/SDL/build/SDL3.dmg"
+ dmg_in = self.root / f"Xcode/SDL/build/{self.project}.dmg"
dmg_in.unlink(missing_ok=True)
self.executer.run(["xcodebuild", "-project", str(self.root / "Xcode/SDL/SDL.xcodeproj"), "-target", "SDL3.dmg", "-configuration", configuration])
if self.dry: