Skip to content

Commit

Permalink
Add goreleaser config
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitrios Karagiannis <[email protected]>
  • Loading branch information
alkar committed Feb 21, 2020
1 parent b55d614 commit 4e34fc0
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ terraform-provider-megaport
crash.log
vendor/
cover.out
dist/
28 changes: 28 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
project_name: terraform-provider-megaport

builds:
- binary: "terraform-provider-megaport_v{{.Version}}_x4"
env:
- CGO_ENABLED=0
goos:
- darwin
- windows
- linux
goarch:
- amd64
ldflags: []

archives:
- name_template: "{{.ProjectName}}-{{.Os}}-{{.Arch}}"
format_overrides:
- goos: windows
format: zip
- goos: darwin
format: zip
- goos: linux
format: zip
files:
- none* # only package the binary

checksum:
name_template: 'SHA256SUMS.txt'

0 comments on commit 4e34fc0

Please sign in to comment.