From e5d285dbe8a6c57281e7d8e013073cf38f151812 Mon Sep 17 00:00:00 2001 From: karanngi Date: Wed, 19 Feb 2025 04:30:47 -0500 Subject: [PATCH] Enhance GoReleaser config with multi-platform builds, release customizations, and changelog filters Signed-off-by: karanngi --- .goreleaser.yaml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index bc1d6bd..e837bd5 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,13 +1,42 @@ version: 2 +project_name: microcks-cli + +before: + hooks: + - go mod tidy builds: - main: ./main.go binary: microcks-cli env: - CGO_ENABLED=0 + goos: + - linux + - darwin + - windows + goarch: + - amd64 + - arm64 + ignore: + - goos: windows + goarch: arm + - goos: windows + goarch: arm64 + +archives: +- format: tar.gz + format_overrides: + - goos: windows + format: zip release: + name_template: "Microcks CLI v{{.Tag}}" + draft: true + disable: false prerelease: auto + github: + owner: microcks + name: microcks-cli universal_binaries: - replace: true @@ -36,3 +65,11 @@ sboms: checksum: name_template: "checksums.txt" + +changelog: + sort: asc + filters: + exclude: + - '^docs:' + - '^test:' + - typo