project_name: go-mdtopdf-helper builds: - id: go-mdtopdf-helper env: - CGO_ENABLED=0 goos: - linux - windows - darwin goarch: - amd64 - arm64 ignore: - goos: windows goarch: arm64 main: . binary: go-mdtopdf-helper ldflags: - -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.Date}} archives: - id: default format: tar.gz name_template: >- {{ .ProjectName }}_{{ .Version }}_ {{- title .Os }}_ {{- if eq .Arch "amd64" }}x86_64 {{- else if eq .Arch "arm64" }}arm64 {{- else }}{{ .Arch }}{{ end }} format_overrides: - goos: windows format: zip files: - LICENSE* - README* - CHANGELOG* checksum: name_template: 'checksums.txt' snapshot: name_template: "{{ incpatch .Version }}-next" changelog: sort: asc filters: exclude: - '^docs:' - '^test:' - '^ci:' - Merge pull request - Merge branch release: github: owner: "{{.Env.GITHUB_REPOSITORY_OWNER}}" name: "{{.Env.GITHUB_REPOSITORY}}" draft: false prerelease: auto mode: replace