fortlit/.goreleaser.yml

66 lines
1.1 KiB
YAML
Raw Normal View History

---
project_name: fortlit
builds:
2021-03-03 14:40:15 +01:00
- binary: fortlit
env:
- CGO_ENABLED=0
ldflags:
- "-s"
- "-w"
- "-extldflags '-static'"
2021-03-03 14:40:15 +01:00
- "-X main.version={{.Version}}"
- "-X main.commit={{.ShortCommit}}"
- "-X main.date={{.Date}}"
goarch:
- 386
- amd64
- arm
- arm64
archives:
- replacements:
darwin: macos
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
release:
github:
owner: xsteadfastx
name: fortlit-go
nfpms:
- formats:
- apk
- deb
- rpm
replacements:
386: i386
homepage: https://git.xsfx.dev/xsteadfastx/fortlit
maintainer: Marvin Preuss <marvin@xsteadfastx.org>
brews:
- name: fortlit
tap:
owner: xsteadfastx
name: homebrew-tap
commit_author:
name: Marvin Steadfast
email: marvin@xsteadfastx.org
homepage: https://git.xsfx.dev/xsteadfastx/fortlit
install: |
bin.install "fortlit"
test: |
system "#{bin}/fortlit -version"