project_name: waybar-mpris release: github: owner: hrfee name: waybar-mpris gitea: owner: hrfee name: waybar-mpris name_template: v{{.Version}} milestones: - repo: owner: hrfee name: waybar-mpris name_template: '{{ .Tag }}' scoop: name: waybar-mpris commit_author: name: goreleaserbot email: goreleaser@carlosbecker.com commit_msg_template: Scoop update for {{ .ProjectName }} version {{ .Tag }} builds: - id: waybar-mpris goos: - linux goarch: - amd64 - arm - arm64 goarm: - "6" targets: - linux_amd64 - linux_arm_6 - linux_arm64 dir: ./ main: . ldflags: - -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser binary: waybar-mpris env: - CGO_ENABLED=0 lang: go gobinary: go archives: - id: default builds: - waybar-mpris name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}' replacements: amd64: x86_64 linux: Linux format: tar.gz files: - licence* - LICENCE* - license* - LICENSE* - readme* - README* - changelog* - CHANGELOG* allow_different_binary_count: false snapshot: name_template: git-{{.ShortCommit}} checksum: name_template: checksums.txt algorithm: sha256 changelog: filters: exclude: - '^docs:' - '^test:' sort: asc dist: dist env_files: github_token: ~/.config/goreleaser/github_token gitlab_token: ~/.config/goreleaser/gitlab_token gitea_token: ~/.config/goreleaser/gitea_token before: hooks: - go mod download source: name_template: '{{ .ProjectName }}-{{ .Version }}' format: tar.gz github_urls: download: https://github.com gitlab_urls: download: https://gitlab.com