1
0
mirror of https://github.com/helm/chart-releaser.git synced 2026-02-05 09:45:23 +01:00

Move gorelaser before hook to circle job (#22)

Signed-off-by: Scott Rigby <scott@r6by.com>
This commit is contained in:
Scott Rigby
2019-02-14 14:15:58 -05:00
committed by GitHub
parent b0a45e40c0
commit 734f43987b
2 changed files with 4 additions and 6 deletions

View File

@@ -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:

View File

@@ -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