65 lines
No EOL
1.3 KiB
YAML
65 lines
No EOL
1.3 KiB
YAML
project_name: ficsit
|
|
|
|
before:
|
|
hooks:
|
|
- go generate -x -tags tools ./...
|
|
- go mod tidy
|
|
|
|
builds:
|
|
- env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
- windows
|
|
- darwin
|
|
goarch:
|
|
- amd64
|
|
- arm
|
|
- arm64
|
|
- ppc64le
|
|
- 386
|
|
goarm:
|
|
- 7
|
|
|
|
universal_binaries:
|
|
- replace: true
|
|
|
|
archives:
|
|
- format: binary
|
|
allow_different_binary_count: true
|
|
name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
|
|
|
|
nfpms:
|
|
- 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
|
|
formats:
|
|
- apk
|
|
- deb
|
|
- rpm
|
|
|
|
checksum:
|
|
name_template: 'checksums.txt'
|
|
|
|
snapshot:
|
|
name_template: "{{ .Tag }}-next"
|
|
|
|
changelog:
|
|
sort: asc
|
|
filters:
|
|
exclude:
|
|
- '^docs:'
|
|
- '^test:'
|
|
|
|
aurs:
|
|
- name: ficsit-cli-bin
|
|
homepage: https://github.com/Vilsol/ficsit-cli
|
|
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" |