- JFrog CLI 1.19.1
- Go 1.11
export GOPATH=<PATH_TO_FOLDER_WHERE_THIS_REPO_WAS_CLONED>
export PATH=$PATH:$GOPATH/bin
go get -u golang.org/x/vgo
jfrog rt config
cd $GOPATH/src/github.com/elioengcomp/hello
jfrog rt go --server-id=<ARTIFACTORY_ID> install <GO_VIRTUAL_REPO>
Example:
jfrog rt go --server-id=artifactory install go
cd $GOPATH/src/github.com/elioengcomp/hello
jfrog rt gp <GO_LOCAL_REPO> <VERSION> --server-id=<ARTIFACTORY_ID> --deps=ALL --self=true
Example:
jfrog rt gp go-local v1.0.1 --server-id=artifactory --deps=ALL --self=true