diff --git a/.circleci/config.yml b/.circleci/config.yml index 505cb3ec..20b00b40 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,10 +1,14 @@ version: 2 jobs: release: + # `dep ensure` must be run from within a known GOPATH/src. + working_directory: /go/src/github.com/helm/chart-releaser docker: - image: circleci/golang:1.11 steps: - checkout + - run: go get -u github.com/golang/dep/cmd/dep + - run: dep ensure # See https://github.com/goreleaser/get - run: curl -sL https://raw.githubusercontent.com/goreleaser/get/master/get | VERSION=v0.101.0 bash workflows: diff --git a/.goreleaser.yml b/.goreleaser.yml index 09a7664d..41c2806e 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,11 +1,5 @@ # This is an example goreleaser.yaml file with some sane defaults. # Make sure to check the documentation at http://goreleaser.com -before: - hooks: - - go get -u github.com/golang/dep/cmd/dep - # `dep ensure` must be run from within a known GOPATH/src. - - cd /go/src/github.com/helm/chart-releaser - - dep ensure builds: - env: - CGO_ENABLED=0