From 095a709dba7ced713c081f5bbe8f7154ca85e2a1 Mon Sep 17 00:00:00 2001 From: Sean Porter Date: Tue, 11 Feb 2020 00:06:12 -0800 Subject: [PATCH] updated goreleaser config Signed-off-by: Sean Porter --- .goreleaser.yml | 44 +++++++++++++++++++------------------------- 1 file changed, 19 insertions(+), 25 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 7519921..2089020 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -8,10 +8,7 @@ builds: binary: bin/{{ .ProjectName }} goos: - darwin - - freebsd - linux - - netbsd - - solaris - windows goarch: - amd64 @@ -22,28 +19,25 @@ builds: - 5 - 6 - 7 - ignore: - # TODO: add freebsd/arm support to gopsutil - - goos: freebsd - goarch: arm + targets: + - darwin_amd64 + - linux_386 + - linux_amd64 + - linux_arm_5 + - linux_arm_6 + - linux_arm_7 + - linux_arm64 + - windows_386 + - windows_amd64 checksum: - # You can change the name of the checksums file. - # Default is `{{ .ProjectName }}_{{ .Version }}_checksums.txt`. - name_template: "{{ .ProjectName }}_{{ .Version }}_sha256-checksums.txt" + name_template: "{{ .ProjectName }}_{{ .Version }}_sha512-checksums.txt" + algorithm: sha512 -archive: - format: tar.gz - files: - - LICENSE - - README.md - - CHANGELOG.md - - # You can change the name of the GitHub release. - # This is parsed with the Go template engine and the following variables - # are available: - # - ProjectName - # - Tag - # - Version (Git tag without `v` prefix) - # Default is `` - #name_template: "{{.ProjectName}}-v{{.Version}}" +archives: + - id: tar + format: tar.gz + files: + - LICENSE + - README.md + - CHANGELOG.md