fortlit/.goreleaser.yml
Marvin Steadfast 08e2c5e5fc
Some checks reported errors
continuous-integration/drone/push Build encountered an error
finally pterm based refactoring
needed to drop the approach to print the quote in a terminal box.
2021-03-03 14:03:18 +01:00

66 lines
1.2 KiB
YAML

---
project_name: fortlit
builds:
- binary: revive
env:
- CGO_ENABLED=0
ldflags:
- "-s"
- "-w"
- "-extldflags '-static'"
- "-X gitlab.com/wobcom/iot/revive/cmd.version={{.Version}}"
- "-X gitlab.com/wobcom/iot/revive/cmd.commit={{.ShortCommit}}"
- "-X gitlab.com/wobcom/iot/revive/cmd.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"