From 58d022aa0fe85b245d4922da1e71a0252a5a2b26 Mon Sep 17 00:00:00 2001 From: Zee Date: Thu, 19 Sep 2019 17:33:31 +0100 Subject: [PATCH] Gorelease working with dry run - travic CI test --- .goreleaser.yml | 31 ++++++++++++++++++------------- main.go | 2 +- 2 files changed, 19 insertions(+), 14 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index a3714d8..d67cc33 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,17 +1,22 @@ before: hooks: - go mod download - builds: -- - goos: - - linux - - darwin - goarch: - - 386 - - amd64 - - arm - - arm64 - goarm: - - 6 - - 7 +- env: + - GO111MODULE=on + - CGO_ENABLED=0 +archives: + - id: kubemngr + replacements: + darwin: Darwin + linux: Linux + 386: i386 + amd64: x86_64 +snapshot: + name_template: "{{ .Tag }}-next" +changelog: + sort: asc + filters: + exclude: + - '^docs:' + - '^test:' diff --git a/main.go b/main.go index 953276a..23963e0 100644 --- a/main.go +++ b/main.go @@ -23,7 +23,7 @@ import ( "github.com/zee-ahmed/kubemngr/cmd" ) -var clientVersion = "0.0.1" +var clientVersion = "0.1.0" func main() {