Files
speedrun/.goreleaser.yml

46 lines
1.0 KiB
YAML

builds:
- id: speedrun
main: ./cmd/speedrun
binary: speedrun
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
ldflags:
- -s -w -X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.version={{.Version}} -X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.commit={{.ShortCommit}} -X github.com/dpogorzelski/speedrun/cmd/speedrun/cli.date={{.Date}}
- id: portal
main: ./cmd/portal
binary: portal
goos:
- linux
goarch:
- amd64
- arm64
archives:
- id: speedrun
format: zip
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
builds:
- speedrun
- id: portal
format: zip
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
builds:
- portal
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}"
changelog:
skip: true
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^README.md"
- "^.goreleaser.yaml"