From c0a82d24085bc9c6240fc6a1ab4badb234fe19b2 Mon Sep 17 00:00:00 2001 From: Mustafa Gezen Date: Tue, 1 Nov 2022 03:03:19 +0100 Subject: [PATCH] Actually use TARGET_HASH --- hack/get_impacted_targets.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/get_impacted_targets.sh b/hack/get_impacted_targets.sh index 9794d69d..c8031244 100755 --- a/hack/get_impacted_targets.sh +++ b/hack/get_impacted_targets.sh @@ -22,7 +22,7 @@ if [[ -z "$TARGET_HASH" ]]; then TARGET_HASH="$(git log "HEAD@{1}" --pretty=format:"%H" --merges -n 1)" fi echo "Target hash is $PULL_PULL_SHA" -git checkout "$PULL_PULL_SHA" --quiet +git checkout "$TARGET_HASH" --quiet bazel-bin/bazel-diff generate-hashes -w "$workspace_dir" -b "$bazel_bin" ending_hashes_json # Get impacted targets