github.com/tickoalcantara12/micro/v3@v3.0.0-20221007104245-9d75b9bcbab9/scripts/gomod.sh (about)

     1  #!/bin/bash
     2  
     3  set -x
     4  
     5  ## Submit an update for go mod
     6  git branch -D go-mod
     7  git branch go-mod
     8  git checkout go-mod
     9  git pull origin master
    10  GOPROXY=direct go get github.com/micro/go-micro/v3@master
    11  go fmt
    12  go mod tidy
    13  git add go.mod go.sum
    14  git commit -m "Update go.mod"
    15  git push origin go-mod
    16  git checkout master
    17  git branch -D go-mod