]> granicus.if.org Git - graphviz/commitdiff
fix: correct Windows release file recognition during deployment
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 5 Dec 2021 00:05:01 +0000 (16:05 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 11 Dec 2021 01:01:54 +0000 (17:01 -0800)
6117abe680037824d134149b0de42f589fb24466 updated the deployment script to add
Windows artifacts that previously needed to be appended locally to the JSON
manifest. However it failed to account for changes made to the packaging
hierarchy that removed release collection and a redundant architecture
component.

(Hopefully) closes #1979.

ci/deploy.py

index 7148666c6790d14791a8410bf105c216b3a5381a..e561c3acb720fffa580308588cc4e46c42f393d7 100644 (file)
@@ -216,9 +216,8 @@ def main(args: List[str]) -> int: # pylint: disable=missing-function-docstring
         webentry[c.suffix[1:]] = url
 
       # only expose a subset of the Windows artifacts
-      if "stable_windows_10_cmake_Release_Win32" in str(path) or \
-         "stable_windows_10_cmake_Release_x64" in str(path) or \
-         "stable_windows_10_msbuild_Release_Win32" in str(path):
+      if "windows_10_cmake_Release" in str(path) or \
+         "windows_10_msbuild_Release" in str(path):
         webdata["windows"].append(webentry)
 
   # various release pages truncate the viewable artifacts to 100 or even 50