ficsit-cli-flake/.goreleaser.yml

83 lines
1.7 KiB
YAML
Raw Normal View History

2021-12-02 04:00:33 +00:00
project_name: ficsit
before:
hooks:
- go generate -x -tags tools ./...
- go mod tidy
builds:
2022-06-08 20:56:32 +00:00
- id: with-upx
env:
2021-12-02 04:00:33 +00:00
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm
- arm64
- ppc64le
2021-12-17 22:48:13 +00:00
- 386
2021-12-02 04:00:33 +00:00
goarm:
- 7
2022-06-08 20:56:32 +00:00
hooks:
post: 'upx {{ .Path }}'
- id: without-upx
env:
- CGO_ENABLED=0
goos:
- windows
goarch:
- amd64
- arm
- arm64
- 386
goarm:
- 7
2021-12-02 04:00:33 +00:00
universal_binaries:
- replace: true
2022-06-08 20:56:32 +00:00
ids:
- with-upx
2021-12-02 04:00:33 +00:00
archives:
- format: binary
allow_different_binary_count: true
2021-12-04 00:21:19 +00:00
name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
2021-12-02 04:00:33 +00:00
nfpms:
2021-12-04 03:42:31 +00:00
- vendor: Satisfactory Modding
homepage: https://ficsit.app/
maintainer: Satisfactory Modding Team <support@ficsit.app>
description: CLI tool for Ficsit (Satisfactory Modding)
license: GNU General Public License v3.0
2022-06-08 20:56:32 +00:00
file_name_template: "{{ .PackageName }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}"
2021-12-04 03:42:31 +00:00
formats:
2021-12-02 04:00:33 +00:00
- apk
- deb
- rpm
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
2022-06-07 01:44:10 +00:00
aurs:
- name: ficsit-cli-bin
2022-06-07 02:33:33 +00:00
description: A CLI for managing mods for the game Satisfactory
2022-10-14 16:12:34 +00:00
homepage: https://github.com/satisfactorymodding/ficsit-cli
2022-06-07 01:44:10 +00:00
maintainers:
- 'Vilsol <me at vil dot so>'
license: GPL3
private_key: '{{ .Env.AUR_KEY }}'
git_url: 'ssh://aur@aur.archlinux.org/ficsit-cli-bin.git'
package: |
install -Dm755 "./${pkgname}_${pkgver}_${CARCH}.binary" "${pkgdir}/usr/bin/ficsit"