Created
May 22, 2018 21:11
-
-
Save Cibernomadas/6fe1b0254c1974532a7889333f893b0f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
go get -d -u github.com/golang/dep | |
cd $(go env GOPATH)/src/github.com/golang/dep | |
DEP_LATEST=$(git describe --abbrev=0 --tags) | |
git checkout $DEP_LATEST | |
go install -ldflags="-X main.version=$DEP_LATEST" ./cmd/dep | |
git checkout master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment