Skip to content

Commit

Permalink
fix(releaser): add main to goreleaser
Browse files Browse the repository at this point in the history
Signed-off-by: Dusan Malusev <[email protected]>
  • Loading branch information
CodeLieutenant committed Sep 30, 2024
1 parent ab3e873 commit 722d9f5
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,33 @@ 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 }}'

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:
Expand Down

0 comments on commit 722d9f5

Please sign in to comment.