You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
227 B
9 lines
227 B
3 years ago
|
#!/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
|