More verbose output
All checks were successful
Test / Run unit tests (pull_request) Successful in 12m49s
All checks were successful
Test / Run unit tests (pull_request) Successful in 12m49s
This commit is contained in:
parent
62e44d36dd
commit
43a2245b65
@ -11,6 +11,7 @@ fi
|
|||||||
|
|
||||||
CURRENT_REPLACEMENTS=$(go mod edit --json | jq -r '.Replace[] | "\(.Old.Path) \(.New.Path)"')
|
CURRENT_REPLACEMENTS=$(go mod edit --json | jq -r '.Replace[] | "\(.Old.Path) \(.New.Path)"')
|
||||||
|
|
||||||
|
echo "github.com/cerc-io/plugeth-statediff=${PLUGETH_STATEDIFF_DIR}"
|
||||||
go mod edit --replace "github.com/cerc-io/plugeth-statediff=${PLUGETH_STATEDIFF_DIR}"
|
go mod edit --replace "github.com/cerc-io/plugeth-statediff=${PLUGETH_STATEDIFF_DIR}"
|
||||||
for r in `go mod edit --json ${PLUGETH_STATEDIFF_DIR}/go.mod | jq -r '.Replace[] | "\(.Old.Path)=\(.New.Path)@\(.New.Version)"'`; do
|
for r in `go mod edit --json ${PLUGETH_STATEDIFF_DIR}/go.mod | jq -r '.Replace[] | "\(.Old.Path)=\(.New.Path)@\(.New.Version)"'`; do
|
||||||
orig=$(echo $r | cut -d'=' -f1)
|
orig=$(echo $r | cut -d'=' -f1)
|
||||||
@ -19,6 +20,7 @@ for r in `go mod edit --json ${PLUGETH_STATEDIFF_DIR}/go.mod | jq -r '.Replace[]
|
|||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
continue;
|
continue;
|
||||||
fi
|
fi
|
||||||
|
echo "$r"
|
||||||
go mod edit --replace "$r"
|
go mod edit --replace "$r"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user