File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-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 '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 '84s|sed -E .*|sed -E '\''s/^[[:space:]]*([0-9.]+)(-ci\\.[0-9.]+)?(\\+commit\\.[0-9a-f]+).*/\\1\\3/'\''|' "$SCRIPT"
99+
90100 - name : Generate reports from matching release binaries
91101 run : |
92102 base_dir="$PWD"
You can’t perform that action at this time.
0 commit comments