From 5a79ca251be0cbae55548c538410764bf7714aa0 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Fri, 3 Mar 2023 17:16:37 -0800 Subject: [PATCH] check-database-compatibility: Drop .py from script name. Signed-off-by: Anders Kaseorg --- .github/workflows/zulip-ci.yml | 4 ++-- ...database-compatibility.py => check-database-compatibility} | 0 scripts/lib/upgrade-zulip-stage-2 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename scripts/lib/{check-database-compatibility.py => check-database-compatibility} (100%) diff --git a/.github/workflows/zulip-ci.yml b/.github/workflows/zulip-ci.yml index be1462648d..a30801463e 100644 --- a/.github/workflows/zulip-ci.yml +++ b/.github/workflows/zulip-ci.yml @@ -152,11 +152,11 @@ jobs: ./tools/setup/generate_integration_bots_avatars.py --check-missing ./tools/ci/check-executables - # Ban check-database-compatibility.py from transitively + # Ban check-database-compatibility from transitively # relying on static/generated, because it might not be # up-to-date at that point in upgrade-zulip-stage-2. chmod 000 static/generated web/generated - ./scripts/lib/check-database-compatibility.py + ./scripts/lib/check-database-compatibility chmod 755 static/generated web/generated - name: Run documentation and api tests diff --git a/scripts/lib/check-database-compatibility.py b/scripts/lib/check-database-compatibility similarity index 100% rename from scripts/lib/check-database-compatibility.py rename to scripts/lib/check-database-compatibility diff --git a/scripts/lib/upgrade-zulip-stage-2 b/scripts/lib/upgrade-zulip-stage-2 index 72f6316a43..3a12e26c39 100755 --- a/scripts/lib/upgrade-zulip-stage-2 +++ b/scripts/lib/upgrade-zulip-stage-2 @@ -268,7 +268,7 @@ subprocess.check_call( # downgrade. if not args.skip_downgrade_check: subprocess.check_call( - [os.path.join(deploy_path, "scripts", "lib", "check-database-compatibility.py")], + [os.path.join(deploy_path, "scripts", "lib", "check-database-compatibility")], preexec_fn=su_to_zulip, )