aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/update_dependencies.sh
blob: f6f26c66cb023fb50f2fa3931c8000ee81b8496d (plain)
1
2
3
4
5
6
7
8
#!/usr/bin/env bash

grep 'git' go.mod | grep '\.com' | grep -v indirect | grep -v replace | cut -f 2 | cut -d ' ' -f 1 | while read line; do
  go get -u "$line"
  make vendor
  git add .
  git commit -S -m "update $line"
done