git: 2903d6302c2b - main - Tools/scripts: In pypi-get-latest-version.sh, exit with exit code 1 on failure
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 22 Feb 2025 09:19:02 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=2903d6302c2ba845020e06b758a70ae3ec60eb66 commit 2903d6302c2ba845020e06b758a70ae3ec60eb66 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2025-02-22 09:17:13 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2025-02-22 09:18:54 +0000 Tools/scripts: In pypi-get-latest-version.sh, exit with exit code 1 on failure --- Tools/scripts/pypi-get-latest-version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/scripts/pypi-get-latest-version.sh b/Tools/scripts/pypi-get-latest-version.sh index ee72582e86c3..3083eb60764f 100755 --- a/Tools/scripts/pypi-get-latest-version.sh +++ b/Tools/scripts/pypi-get-latest-version.sh @@ -43,4 +43,4 @@ fetch -o - https://pypi.python.org/pypi/$PACKAGE_NAME/json 2>/dev/null | grep -v -E ".*(a|b|rc)[0-9]*$" | version_sort | tail -1 || - echo "failed to find the Python package '$PACKAGE_NAME'" + ! echo "failed to find the Python package '$PACKAGE_NAME'"