Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
Merge pull request #114 from secrethub/fix/terraform-naming-standard
Browse files Browse the repository at this point in the history
Bring .goreleaser.yml up to TF standard
  • Loading branch information
SimonBarendse authored Sep 9, 2020
2 parents 2f221d2 + 8fa65c8 commit 87ff5f2
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
project_name: terraform-provider-secrethub

builds:
- binary: "{{ .ProjectName }}_{{ .Tag }}"
- binary: "{{ .ProjectName }}_v{{ .Version }}"
env:
- CGO_ENABLED=0
mod_timestamp: '{{ .CommitTimestamp }}'
flags:
- -trimpath
ldflags:
- '-s -w -X github.com/secrethub/terraform-provider-secrethub/secrethub.version=v{{.Version}}'
goos:
- freebsd
- linux
Expand All @@ -21,7 +26,11 @@ builds:
goarch: arm64

archives:
- name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}"
- format: zip
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
# The following archives are deprecated and will be dropped for releases starting April 2021:
- id: backwards-compatibility
name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}"
format_overrides:
- goos: windows
format: zip
Expand Down

0 comments on commit 87ff5f2

Please sign in to comment.