mirror of
https://github.com/scroll-tech/scroll.git
synced 2026-01-09 14:08:03 -05:00
Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com> Co-authored-by: colinlyguo <colinlyguo@users.noreply.github.com>
10 lines
320 B
Bash
Executable File
10 lines
320 B
Bash
Executable File
#!/bin/bash
|
|
set -ue
|
|
|
|
higher_zkevm_item=`grep "zkevm-circuits.git" ./Cargo.lock | sort | uniq | awk -F "[#=]" '{print $3" "$4}' | sort -k 1 | tail -n 1`
|
|
|
|
higher_version=`echo $higher_zkevm_item | awk '{print $1}'`
|
|
|
|
higher_commit=`echo $higher_zkevm_item | cut -d ' ' -f2 | cut -c-7`
|
|
|
|
echo "$higher_version $higher_commit" |