diff --git a/.gitignore b/.gitignore index de39dea..d13d495 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ SopsSecretGenerator release/ +dist/ coverage.txt diff --git a/.goreleaser.yml b/.goreleaser.yml index 7d4a4af..3423b2a 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -3,18 +3,21 @@ before: # you may remove this if you don't use vgo - go mod tidy +env: + - CGO_ENABLED=0 + - GO111MODULE=on + builds: - binary: SopsSecretGenerator - env: - - CGO_ENABLED=0 + goos: + - linux + - darwin + - windows + goarch: + - amd64 archives: - - replacements: - darwin: Darwin - linux: Linux - windows: Windows - 386: i386 - amd64: x86_64 + - format: binary checksum: name_template: 'checksums.txt' @@ -28,3 +31,5 @@ changelog: exclude: - '^docs:' - '^test:' + - Merge pull request + - Merge branch