From d68d4727eb828e749bff835a8d3e379c34bcffd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20=C5=9Aliwak?= Date: Mon, 29 Mar 2021 14:16:58 +0200 Subject: [PATCH] Fix bytecode PR check ignoring TOP_REF and always using HEAD as the end of the commit range --- scripts/solc-bin/bytecode_reports_for_modified_binaries.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/solc-bin/bytecode_reports_for_modified_binaries.sh b/scripts/solc-bin/bytecode_reports_for_modified_binaries.sh index 111c19637..f2d035de1 100755 --- a/scripts/solc-bin/bytecode_reports_for_modified_binaries.sh +++ b/scripts/solc-bin/bytecode_reports_for_modified_binaries.sh @@ -74,7 +74,7 @@ cd "${solc_bin_dir}/${platform}/" echo "Commit range: ${base_ref}..${top_ref}" modified_release_versions=$( - git diff --name-only "${base_ref}" | + git diff --name-only "${base_ref}" "${top_ref}" | sed -n -E 's/^[^\/]+\/(solc|soljson)-[0-9a-zA-Z-]+-v([0-9.]+)\+commit\.[0-9a-f]+(.[^.]+)?$/\2/p' | sort -V | uniq