diff --git a/.gitignore b/.gitignore index d6781b7..bab5716 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ coverage.txt dist .DS_Store bin -coverage.out \ No newline at end of file +coverage.out +chglog diff --git a/.goreleaser.yml b/.goreleaser.yml index 2caa5fb..00001ef 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,2 +1,16 @@ +env: + - GO111MODULE=on + - GOPROXY=https://gocenter.io +before: + hooks: + - go mod tidy builds: -- skip: true +- main: ./cmd/chglog + env: + - CGO_ENABLED=0 + goos: + - linux + - darwin + - windows + goarch: + - amd64