From: Matthew Fernandez Date: Wed, 10 Mar 2021 01:08:42 +0000 (-0800) Subject: fix: correctly recognize Windows packages in deploy script X-Git-Tag: 2.47.0~1^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1e2be41d193613b4708c9172a0ea6359273155b8;p=graphviz fix: correctly recognize Windows packages in deploy script 239f6301789b603202d500f7ae58e800354c1524 identified Windows packages containing the word “Windows” but the package filenames actually have this in lower case. Closes #1955. --- diff --git a/ci/deploy.py b/ci/deploy.py index 16e2ec135..bed60c51b 100644 --- a/ci/deploy.py +++ b/ci/deploy.py @@ -93,7 +93,7 @@ def is_windows_artifact(path: str) -> bool: ''' is this a deployment artifact for Windows? ''' - return re.search(r'\bWindows\b', path) is not None + return re.search(r'\bwindows\b', path) is not None def main(args: List[str]) -> int: