proper release bundle_name (amending 0e7dd3eaa6e8);
authorwenzelm
Tue, 05 Mar 2024 23:06:18 +0100
changeset 79801 60dd45996a6b
parent 79795 3b1ad072d59a
child 79802 0082387e4830
proper release bundle_name (amending 0e7dd3eaa6e8);
src/Pure/Admin/build_release.scala
--- a/src/Pure/Admin/build_release.scala	Tue Mar 05 21:44:52 2024 +0100
+++ b/src/Pure/Admin/build_release.scala	Tue Mar 05 23:06:18 2024 +0100
@@ -835,9 +835,9 @@
         progress.echo_warning("Library archive already exists: " + context.isabelle_library_archive)
       }
       else {
+        require(Platform.is_unix, "Linux or macOS platform required")
         Isabelle_System.with_tmp_dir("build_release") { tmp_dir =>
-          val windows_app_platform = Isabelle_Platform.self.ISABELLE_PLATFORM64
-          val bundle = context.dist_name + "_" + Component_Windows_App.tool_platform() + ".tar.gz"
+          val bundle = context.dist_name + "_" + Platform.family + ".tar.gz"
           val bundle_path = context.dist_dir + Path.basic(bundle)
           execute_tar(tmp_dir, "-xzf " + File.bash_path(bundle_path))