File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 8787 # We need more than just a single revision to be able to use diff
8888 fetch-depth : 0
8989
90+ - name : Patch bytecode script to use develop branch for unreleased versions
91+ run : |
92+ SCRIPT="solidity/scripts/solc-bin/bytecode_reports_for_modified_binaries.sh"
93+
94+ # Use develop branch instead of version-specific branch
95+ sed -i.bak 's/--branch "v\${solidity_version}"/--branch "develop"/' "$SCRIPT"
96+
97+ # Patch validation to accept CI builds by stripping -ci.DATE before comparison
98+ sed -i.bak '84s|sed -E .*|sed -E '\''s/^[[:space:]]*([0-9.]+)(-ci\\.[0-9.]+)?(\\+commit\\.[0-9a-f]+).*/\\1\\3/'\''|' "$SCRIPT"
99+
100+ rm -f "$SCRIPT.bak"
101+
90102 - name : Generate reports from matching release binaries
91103 run : |
92104 base_dir="$PWD"
You can’t perform that action at this time.
0 commit comments