Skip to content

Commit 2393185

Browse files
authored
Merge pull request #16259 from argotorg/fix-solc-bin-pr-check-for-prereleases
Fix solc-bin PR check for prerelease binaries
2 parents b59566f + 5667f96 commit 2393185

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/solc-bin/bytecode_reports_for_modified_binaries.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,12 @@ modified_release_versions=$(
124124
uniq
125125
)
126126
echo "Release versions modified in the commit range:"
127-
echo "$modified_release_versions"
127+
if [[ $modified_release_versions != "" ]]; then
128+
echo "$modified_release_versions"
129+
else
130+
echo "No modified binaries found."
131+
exit 0
132+
fi
128133

129134
# NOTE: We want perform the check when the soljson-* files in bin/ and wasm/ are modified too
130135
# because in that case the symlinks in emscripten-wasm32/ and emscripten-asmjs/ might remain

0 commit comments

Comments
 (0)