Merge pull request #11189 from ethereum/fix-top-ref-in-solc-bin-bytecode-pr-check

[solc-bin] Fix commit range used by bytecode PR check
This commit is contained in:
chriseth 2021-03-29 18:44:33 +02:00 committed by GitHub
commit 2346ec1c0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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