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.

update_dependencies.sh 227B

12345678
  1. #!/usr/bin/env bash
  2. grep 'git' go.mod | grep '\.com' | grep -v indirect | grep -v replace | cut -f 2 | cut -d ' ' -f 1 | while read line; do
  3. go get -u "$line"
  4. make vendor
  5. git add .
  6. git commit -S -m "update $line"
  7. done