From 20aabf3faf63452c40e87ca176b70d3ab366d612 Mon Sep 17 00:00:00 2001 From: soup Date: Sun, 10 Sep 2023 07:50:56 +0200 Subject: [PATCH] fix(build): update goreleaser --- .goreleaser.yaml | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 001c05c..188ba28 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -4,6 +4,8 @@ before: builds: - id: omegabrr + env: + - CGO_ENABLED=0 goos: - linux - windows @@ -22,6 +24,10 @@ builds: goarch: arm64 - goos: darwin goarch: arm + - goos: freebsd + goarch: arm + - goos: freebsd + goarch: arm64 main: ./cmd/omegabrr/main.go binary: omegabrr @@ -29,23 +35,32 @@ archives: - id: omegabrr builds: - omegabrr - files: - - none* - replacements: - amd64: x86_64 + format_overrides: + - goos: windows + format: zip + name_template: >- + {{ .ProjectName }}_ + {{- .Version }}_ + {{- .Os }}_ + {{- if eq .Arch "amd64" }}x86_64 + {{- else }}{{ .Arch }}{{ end }} release: prerelease: auto footer: | **Full Changelog**: https://github.com/autobrr/omegabrr/compare/{{ .PreviousTag }}...{{ .Tag }} - + + ## Docker images + + - `docker pull ghcr.io/autobrr/omegabrr:{{ .Tag }}` + ## What to do next? - + - Read the [documentation](https://autobrr.com) - Join our [Discord server](https://discord.gg/WQ2eUycxyT) checksum: - name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt' + name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt" changelog: sort: asc @@ -56,10 +71,10 @@ changelog: - Merge remote-tracking branch - Merge branch groups: - - title: 'New Features' + - title: "New Features" regexp: "^.*feat[(\\w)]*:+.*$" order: 0 - - title: 'Bug fixes' + - title: "Bug fixes" regexp: "^.*fix[(\\w)]*:+.*$" order: 10 - title: Other work