From 722d9f5413071930dd38826ff6c0cdceb30bd349 Mon Sep 17 00:00:00 2001 From: Dusan Malusev Date: Mon, 30 Sep 2024 12:54:31 +0200 Subject: [PATCH] fix(releaser): add main to goreleaser Signed-off-by: Dusan Malusev --- .goreleaser.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 00fcaaf..3177dc4 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -5,14 +5,18 @@ env: before: hooks: - go mod download + builds: - - + - id: gemini + ldflags: -s -w + main: ./cmd/gemini env: - CGO_ENABLED=0 goos: - linux goarch: - amd64 + archives: - name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' @@ -20,14 +24,14 @@ checksum: name_template: 'checksums.txt' snapshot: - name_template: "{{ .Tag }}-next" + name_template: '{{ .Tag }}-next' changelog: sort: asc filters: exclude: - - '^docs:' - - '^test:' + - '^docs:' + - '^test:' dockers: - image_templates: