diff --git a/.goreleaser.linux-amd64.yml b/.goreleaser.linux-amd64.yml index 2d59a28..14e63ed 100644 --- a/.goreleaser.linux-amd64.yml +++ b/.goreleaser.linux-amd64.yml @@ -1,13 +1,16 @@ builds: - - env: + - main: ./cmd/tfcw + env: - CGO_ENABLED=0 goos: - linux goarch: - amd64 + flags: + - -trimpath snapshot: - name_template: "{{ .Tag }}-{{ .ShortCommit }}" + name_template: '{{ .Tag }}-{{ .ShortCommit }}' changelog: skip: true diff --git a/.goreleaser.yml b/.goreleaser.yml index 7aea3ba..acda2fb 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -3,7 +3,8 @@ before: - go mod download builds: - - env: + - main: ./cmd/tfcw + env: - CGO_ENABLED=0 goos: - darwin @@ -15,6 +16,11 @@ builds: - 386 - amd64 - arm64 + flags: + - -trimpath + ignore: + - goos: darwin + goarch: 386 archives: - format_overrides: @@ -22,14 +28,10 @@ archives: format: zip nfpms: - - maintainer: &author - Maxime VISONNEAU - description: &description - Safely Store Super Sensitive Stuff - license: &license - Apache 2.0 - homepage: &homepage - https://github.com/mvisonneau/s5 + - maintainer: &author Maxime VISONNEAU + description: &description Terraform Cloud Wrapper + license: &license Apache 2.0 + homepage: &homepage https://github.com/mvisonneau/tfcw vendor: *author formats: - deb @@ -52,10 +54,11 @@ scoop: name: scoops checksum: - name_template: checksums.txt + name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS' + algorithm: sha256 snapshot: - name_template: "{{ .Tag }}-{{ .ShortCommit }}" + name_template: '{{ .Tag }}-{{ .ShortCommit }}' changelog: skip: true