Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions script/validate-update-tools
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ while IFS='|' read -r name binary version url crate_sha256 crate_lockfile_sha256
*) die "unexpected update-tool lock entry: $name" ;;
esac

if [[ "$binary" != "$name" ]]; then
die "${name} binary mismatch (expected ${name}, found ${binary})"
fi

version_file="$TOOLING_DIR/${name}-version"
expected_version="$(read_version_file "$version_file")"
if [[ "$version" != "$expected_version" ]]; then
Expand Down