diff --git a/.goreleaser.yml b/.goreleaser.yml index e35750c8..e3d3351c 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,6 +1,7 @@ project_name: kubectl-trace builds: - - goos: + - id: "kubectl-trace" + goos: - linux - darwin - windows @@ -16,7 +17,8 @@ builds: -X github.com/iovisor/kubectl-trace/pkg/version.gitCommit={{ .Commit }} -X github.com/iovisor/kubectl-trace/pkg/version.imageName={{ .Env.IMAGE_NAME }} binary: kubectl-trace - - goos: + - id: "trace-runner" + goos: - linux - darwin - windows @@ -33,10 +35,11 @@ builds: -X github.com/iovisor/kubectl-trace/pkg/version.imageName={{ .Env.IMAGE_NAME }} binary: trace-runner -archive: - format_overrides: - - goos: windows - format: zip +archives: + - id: windows + format_overrides: + - goos: windows + format: zip snapshot: name_template: 'master' diff --git a/.travis.yml b/.travis.yml index 68080e73..23cbdd43 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ go: services: - docker before_install: - - GO111MODULE=on; go get github.com/goreleaser/goreleaser +- GO111MODULE=on; go get github.com/goreleaser/goreleaser script: - make test - make _output/bin/kubectl-trace