From c7b0e271266465f95e0397973ae78500c724c00b Mon Sep 17 00:00:00 2001 From: "Eugene R." Date: Fri, 20 Sep 2024 22:31:16 +0300 Subject: [PATCH] ci(goreleaser): exclude merge commits from changelog (#24) --- cmd/gemini/.goreleaser.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/cmd/gemini/.goreleaser.yml b/cmd/gemini/.goreleaser.yml index c8005b4..f100841 100644 --- a/cmd/gemini/.goreleaser.yml +++ b/cmd/gemini/.goreleaser.yml @@ -1,9 +1,11 @@ project_name: gemini + builds: - main: . ldflags: - -s -w -X main.version={{.Version}} - env: [CGO_ENABLED=0] + env: + - CGO_ENABLED=0 goos: - linux - darwin @@ -11,6 +13,7 @@ builds: - amd64 - arm64 - 386 + archives: - name_template: >- {{ .ProjectName }}_{{ .Version }}_ @@ -18,3 +21,8 @@ archives: {{- else }}{{ .Os }}{{ end }}_ {{- if eq .Arch "amd64" }}x86_64 {{- else }}{{ .Arch }}{{ end }} + +changelog: + filters: + exclude: + - "^Merge pull request"