浏览代码

Utilities/Release: Update file table for 3.19.3

Brad King 4 年之前
父节点
当前提交
30959aec8f

+ 10 - 2
Tests/RunCMake/CMakeRelease/FileTable-stdout.txt

@@ -5,10 +5,14 @@
 "rc4"
 "@version@"
 -- query: \.files\[\]\.name
+"cmake-@version@-Linux-aarch64\.sh"
+"cmake-@version@-Linux-aarch64\.tar\.gz"
 "cmake-@version@-Linux-x86_64\.sh"
 "cmake-@version@-Linux-x86_64\.tar\.gz"
 "cmake-@version@-macos-universal\.dmg"
 "cmake-@version@-macos-universal\.tar\.gz"
+"cmake-@version@-macos10\.10-universal\.dmg"
+"cmake-@version@-macos10\.10-universal\.tar\.gz"
 "cmake-@version@-win32-x86\.msi"
 "cmake-@version@-win32-x86\.zip"
 "cmake-@version@-win64-x64\.msi"
@@ -20,6 +24,8 @@
 "cmake-@version@\.zip"
 -- query: \.files\[\] \| select\(\(\.os\[\] \| \. == "macOS"\) and \(\.class == "volume"\)\) \| \.name
 "cmake-@version@-macos-universal\.dmg"
+-- query: \.files\[\] \| select\(\(\.os\[\] \| \. == "macos10\.10"\) and \(\.class == "archive"\)\) \| \.name
+"cmake-@version@-macos10\.10-universal\.tar\.gz"
 -- query: \.files\[\] \| select\(\(\.os\[\] \| \. == "windows"\) and \(\.architecture\[\] \| \. == "i386"\) and \(\.class == "installer"\)\) \| \.name
 "cmake-@version@-win32-x86\.msi"
 -- query: \.files\[\] \| select\(\.architecture\[\] \| \. == "x86_64"\) \| \.name
@@ -27,10 +33,12 @@
 "cmake-@version@-Linux-x86_64\.tar\.gz"
 "cmake-@version@-macos-universal\.dmg"
 "cmake-@version@-macos-universal\.tar\.gz"
+"cmake-@version@-macos10\.10-universal\.dmg"
+"cmake-@version@-macos10\.10-universal\.tar\.gz"
 "cmake-@version@-win64-x64\.msi"
 "cmake-@version@-win64-x64\.zip"
 -- query: \.files\[\] \| select\(\[\.macOSmin\] \| inside\(\["10\.10", "10\.11", "10\.12"\]\)\) \| \.name
-"cmake-@version@-macos-universal\.dmg"
-"cmake-@version@-macos-universal\.tar\.gz"
+"cmake-@version@-macos10\.10-universal\.dmg"
+"cmake-@version@-macos10\.10-universal\.tar\.gz"
 -- query: \.hashFiles\[\] \| select\(\.algorithm\[\] \| \. == "SHA-256"\) \| \.name
 "cmake-@version@-SHA-256\.txt"$

+ 1 - 0
Tests/RunCMake/CMakeRelease/FileTable.cmake

@@ -10,6 +10,7 @@ foreach(query
     ".files[].name"
     ".files[] | select(.os[] | . == \"source\") | .name"
     ".files[] | select((.os[] | . == \"macOS\") and (.class == \"volume\")) | .name"
+    ".files[] | select((.os[] | . == \"macos10.10\") and (.class == \"archive\")) | .name"
     ".files[] | select((.os[] | . == \"windows\") and (.architecture[] | . == \"i386\") and (.class == \"installer\")) | .name"
     ".files[] | select(.architecture[] | . == \"x86_64\") | .name"
     ".files[] | select([.macOSmin] | inside([\"10.10\", \"10.11\", \"10.12\"])) | .name"

+ 27 - 1
Utilities/Release/files-v1.json.in

@@ -7,6 +7,18 @@
     "string": "@version@"
   },
   "files": [
+    {
+      "os": ["linux", "Linux"],
+      "architecture": ["aarch64"],
+      "class": "installer",
+      "name": "cmake-@[email protected]"
+    },
+    {
+      "os": ["linux", "Linux"],
+      "architecture": ["aarch64"],
+      "class": "archive",
+      "name": "cmake-@[email protected]"
+    },
     {
       "os": ["linux", "Linux"],
       "architecture": ["x86_64"],
@@ -24,13 +36,27 @@
       "architecture": ["arm64", "x86_64"],
       "class": "volume",
       "name": "cmake-@[email protected]",
-      "macOSmin": "10.10"
+      "macOSmin": "10.13"
     },
     {
       "os": ["macos", "macOS"],
       "architecture": ["arm64", "x86_64"],
       "class": "archive",
       "name": "cmake-@[email protected]",
+      "macOSmin": "10.13"
+    },
+    {
+      "os": ["macos10.10", "macOS10.10"],
+      "architecture": ["arm64", "x86_64"],
+      "class": "volume",
+      "name": "cmake-@[email protected]",
+      "macOSmin": "10.10"
+    },
+    {
+      "os": ["macos10.10", "macOS10.10"],
+      "architecture": ["arm64", "x86_64"],
+      "class": "archive",
+      "name": "cmake-@[email protected]",
       "macOSmin": "10.10"
     },
     {

+ 10 - 3
Utilities/Release/files-v1.rst

@@ -100,7 +100,7 @@ The members are:
   ``macOSmin``
     Optional member that is present on package files for macOS.
     The value is a JSON string specifying the minimum version of macOS
-    required to run the binary, e.g. ``"10.10"``.
+    required to run the binary, e.g. ``"10.13"``.
 
 ``hashFiles``
   A JSON array of entries corresponding to files containing cryptographic
@@ -142,10 +142,10 @@ For example, one may use ``jq`` queries:
                       (.architecture[] | . == "x86_64") and
                       (.class == "archive")) | .name
 
-* To select a Linux binary archive supporting ``x86_64`` hosts::
+* To select a Linux binary archive supporting ``aarch64`` hosts::
 
     .files[] | select((.os[] | . == "linux") and
-                      (.architecture[] | . == "x86_64") and
+                      (.architecture[] | . == "aarch64") and
                       (.class == "archive")) | .name
 
 * To select a macOS binary archive supporting ``arm64`` hosts::
@@ -154,6 +154,13 @@ For example, one may use ``jq`` queries:
                       (.architecture[] | . == "arm64") and
                       (.class == "archive")) | .name
 
+* To select a macOS binary archive supporting macOS 10.12 on ``x86_64`` hosts::
+
+    .files[] | select((.os[] | contains("macOS")) and
+                      (.architecture[] | . == "x86_64") and
+                      ([.macOSmin] | inside(["10.10", "10.11", "10.12"]))
+                      ) | .name
+
 * To select a SHA-256 hash file::
 
     .hashFiles[] | select(.algorithm[] | . == "SHA-256") | .name