Skip to content

Commit

Permalink
updated goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
mvisonneau committed Oct 30, 2020
1 parent c86e570 commit f048993
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 13 deletions.
7 changes: 5 additions & 2 deletions .goreleaser.linux-amd64.yml
Original file line number Diff line number Diff line change
@@ -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
25 changes: 14 additions & 11 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ before:
- go mod download

builds:
- env:
- main: ./cmd/tfcw
env:
- CGO_ENABLED=0
goos:
- darwin
Expand All @@ -15,21 +16,22 @@ builds:
- 386
- amd64
- arm64
flags:
- -trimpath
ignore:
- goos: darwin
goarch: 386

archives:
- format_overrides:
- goos: windows
format: zip

nfpms:
- maintainer: &author
Maxime VISONNEAU <[email protected]>
description: &description
Safely Store Super Sensitive Stuff
license: &license
Apache 2.0
homepage: &homepage
https://github.com/mvisonneau/s5
- maintainer: &author Maxime VISONNEAU <[email protected]>
description: &description Terraform Cloud Wrapper
license: &license Apache 2.0
homepage: &homepage https://github.com/mvisonneau/tfcw
vendor: *author
formats:
- deb
Expand All @@ -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

0 comments on commit f048993

Please sign in to comment.