update .gitignore to include dist/ and modify GoReleaser configuration for archive formats

This commit is contained in:
John Doe 2025-04-02 18:36:49 +03:00
parent 828d57af90
commit dca6636455
2 changed files with 4 additions and 14 deletions

1
.gitignore vendored
View file

@ -72,3 +72,4 @@ bin/
.cursor/ .cursor/
log.txt log.txt
mcp.log mcp.log
dist/

View file

@ -16,24 +16,13 @@ builds:
- -s -w - -s -w
archives: archives:
- name_template: >- - format_overrides:
{{ .ProjectName }}_{{ .Version }}_ - formats: 'zip'
{{- title .Os }}_ goos: windows
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}
wrap_in_directory: false
files:
- none*
changelog: changelog:
use: github use: github
sort: asc sort: asc
groups:
- title: Release Notes
regexp: ".*"
filters:
exclude:
- ".*"
checksum: checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt' name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'