From 95bf44e9233eff74a825cad7fbcb947f4b562f78 Mon Sep 17 00:00:00 2001 From: Paul Brauner <141240651+paulbrauner-da@users.noreply.github.com> Date: Tue, 5 Dec 2023 10:05:17 +0100 Subject: [PATCH] fix tag_filter in build.sh (#17969) --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 0e8954e13b..95f8fe6b18 100755 --- a/build.sh +++ b/build.sh @@ -55,7 +55,7 @@ fi # Bazel test only builds targets that are dependencies of a test suite so do a full build first. $bazel build //... \ - --build_tag_filters "${tag_filter:1}" \ + --build_tag_filters "${tag_filter}" \ --profile build-profile.json \ --experimental_profile_include_target_label \ --build_event_json_file build-events.json \ @@ -94,8 +94,8 @@ start_postgresql # Run the tests. $bazel test //... \ - --build_tag_filters "${tag_filter:1}" \ - --test_tag_filters "${tag_filter:1}" \ + --build_tag_filters "${tag_filter}" \ + --test_tag_filters "${tag_filter}" \ --test_env "POSTGRESQL_HOST=${POSTGRESQL_HOST}" \ --test_env "POSTGRESQL_PORT=${POSTGRESQL_PORT}" \ --test_env "POSTGRESQL_USERNAME=${POSTGRESQL_USERNAME}" \