mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-04 08:17:24 -05:00
9 lines
227 B
Bash
9 lines
227 B
Bash
|
#!/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
|