-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.goreleaser.yml
80 lines (71 loc) · 1.71 KB
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
project_name: ficsit
before:
hooks:
- go generate -x -tags tools ./...
- go mod tidy
builds:
- id: with-upx
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm
- arm64
- ppc64le
- 386
goarm:
- 7
hooks:
post: 'upx {{ .Path }}'
- id: without-upx
env:
- CGO_ENABLED=0
goos:
- windows
goarch:
- amd64
- arm64
- 386
universal_binaries:
- replace: true
ids:
- with-upx
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 <[email protected]>
description: CLI tool for Ficsit (Satisfactory Modding)
license: GNU General Public License v3.0
file_name_template: "{{ .PackageName }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}"
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
description: A CLI for managing mods for the game Satisfactory
homepage: https://github.com/satisfactorymodding/ficsit-cli
maintainers:
- 'Vilsol <me at vil dot so>'
license: GPL3
private_key: '{{ .Env.AUR_KEY }}'
git_url: 'ssh://[email protected]/ficsit-cli-bin.git'
package: |
install -Dm755 "./${pkgname}_${pkgver}_${CARCH}.binary" "${pkgdir}/usr/bin/ficsit"