Files

9 lines
224 B
Bash
Raw Permalink Normal View History

2021-07-04 04:06:10 +02:00
#!/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 .
2022-03-08 06:15:30 -05:00
git commit -m "update $line"
2021-07-04 04:06:10 +02:00
done