build(deps): Bump cosmossdk.io/api from v0.1.0-alpha9 to v0.2.0 (#13206)

This commit is contained in:
Julien Robert
2022-09-08 20:36:54 +00:00
committed by GitHub
parent b38e285cdf
commit 84d4bf5acc
16 changed files with 37 additions and 77 deletions
+6 -1
View File
@@ -21,6 +21,11 @@ for modfile in $(find . -name go.mod); do
if grep $dependency_mod $modfile &> /dev/null; then
echo "Updating $modfile"
DIR=$(dirname $modfile)
(cd $DIR; go get -u $dependency)
# we want to skip the go.mod of the package we're updating
if [[ "$dependency_mod" == *"$(basename $DIR)" ]]; then
echo "Skipping $DIR"
continue
fi
(cd $DIR; go get -u $dependency)
fi
done