Fix bytecode PR check ignoring TOP_REF and always using HEAD as the end of the commit range

This commit is contained in:
Kamil Śliwak 2021-03-29 14:16:58 +02:00
parent bb49bc5892
commit d68d4727eb

View File

@ -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