Skip to content

Commit

Permalink
Move gorelaser before hook to circle job (helm#22)
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Rigby <scott@r6by.com>
  • Loading branch information
scottrigby authored Feb 14, 2019
1 parent b0a45e4 commit 734f439
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
6 changes: 0 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 734f439

Please sign in to comment.