From 653e4401a042e58a5ee839ac86d5056a0962a023 Mon Sep 17 00:00:00 2001 From: Markus Wolf Date: Mon, 22 Nov 2021 15:04:31 +0100 Subject: [PATCH] patch: customize goreleaser configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Build linux, darwin for x64 and arm64. Co-authored-by: Björn Brauer --- .goreleaser.yml | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 21a62685a52..ba4ab71df00 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,8 @@ +release: + github: + owner: xing + name: act + before: hooks: - go mod tidy @@ -7,31 +12,18 @@ builds: goos: - darwin - linux - - windows goarch: - amd64 - - '386' - arm64 - - arm - goarm: - - '6' - - '7' - ignore: - - goos: windows - goarm: '6' checksum: name_template: 'checksums.txt' archives: - - name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}' + - name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}' replacements: darwin: Darwin linux: Linux - windows: Windows - 386: i386 + arm64: arm64 amd64: x86_64 - format_overrides: - - goos: windows - format: zip changelog: groups: - title: 'New Features' @@ -45,6 +37,3 @@ changelog: order: 2 - title: 'Other' order: 999 -release: - prerelease: auto - mode: append