fortlit/.goreleaser.yml
Marvin Steadfast 67828e0e4f
All checks were successful
continuous-integration/drone/push Build is passing
fixes version build tags
2021-03-03 14:40:15 +01:00

66 lines
1.1 KiB
YAML

---
project_name: fortlit
builds:
- binary: fortlit
env:
- CGO_ENABLED=0
ldflags:
- "-s"
- "-w"
- "-extldflags '-static'"
- "-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"