erm/.goreleaser.yml

42 lines
706 B
YAML
Raw Normal View History

2021-07-30 22:47:18 +00:00
before:
hooks:
- sudo apt install xorg-dev libgl1-mesa-dev
- go mod vendor
2021-07-30 22:29:20 +00:00
builds:
-
id: darktile
main: ./cmd/darktile
binary: darktile
ldflags:
2021-07-30 22:40:41 +00:00
- "-X github.com/liamg/darktile/internal/app/darktile/version.Version={{.Version}}"
2021-07-30 22:29:20 +00:00
env:
- GOFLAGS=-mod=vendor
goos:
- linux
goarch:
- amd64
checksum:
name_template: '{{ .ProjectName }}_checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
archives:
-
format: binary
name_template: "{{ .Binary}}-{{ .Os }}-{{ .Arch }}"
release:
prerelease: auto
github:
owner: liamg
name: darktile