Updated os issues and release conf

This commit is contained in:
warkanum committed 2024-12-07 12:13:43 +02:00
1 parent 54e7287ae6
commit 8c14862ae7
4 files changed
+135 -4

No files matched your search

+59
View File
@@ -0,0 +1,59 @@
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
ignore:
- goos: windows
goarch: arm64
binary: go-mdtopdf-helper
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
archives:
- format: tar.gz
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "arm64" }}arm64
{{- else }}{{ .Arch }}{{ end }}
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^ci:'
- Merge pull request
- Merge branch
release:
prerelease: auto
brews:
- name: go-mdtopdf-helper
homepage: "https://github.com/yourusername/go-mdtopdf-helper"
description: "A tool to convert Markdown files to PDF using wkhtmltopdf"
tap:
owner: yourusername
name: homebrew-tools
commit_author:
name: goreleaserbot
email: bot@goreleaser.com