Debian Codegraph @

.goreleaser.yml

raw
1 version: 2
2
3 before:
4 hooks:
5 - ./gen.sh
6
7 builds:
8 -
9 id: "s2c"
10 binary: s2c
11 main: ./s2/cmd/s2c/main.go
12 flags:
13 - -trimpath
14 env:
15 - CGO_ENABLED=0
16 goos:
17 - aix
18 - linux
19 - freebsd
20 - netbsd
21 - windows
22 - darwin
23 goarch:
24 - 386
25 - amd64
26 - arm
27 - arm64
28 - ppc64
29 - ppc64le
30 - mips64
31 - mips64le
32 goarm:
33 - 7
34 ignore:
35 - goos: windows
36 goarch: arm
37 -
38 id: "s2d"
39 binary: s2d
40 main: ./s2/cmd/s2d/main.go
41 flags:
42 - -trimpath
43 env:
44 - CGO_ENABLED=0
45 goos:
46 - aix
47 - linux
48 - freebsd
49 - netbsd
50 - windows
51 - darwin
52 goarch:
53 - 386
54 - amd64
55 - arm
56 - arm64
57 - ppc64
58 - ppc64le
59 - mips64
60 - mips64le
61 goarm:
62 - 7
63 ignore:
64 - goos: windows
65 goarch: arm
66 -
67 id: "s2sx"
68 binary: s2sx
69 main: ./s2/cmd/_s2sx/main.go
70 flags:
71 - -modfile=s2sx.mod
72 - -trimpath
73 env:
74 - CGO_ENABLED=0
75 goos:
76 - aix
77 - linux
78 - freebsd
79 - netbsd
80 - windows
81 - darwin
82 goarch:
83 - 386
84 - amd64
85 - arm
86 - arm64
87 - ppc64
88 - ppc64le
89 - mips64
90 - mips64le
91 goarm:
92 - 7
93 ignore:
94 - goos: windows
95 goarch: arm
96
97 archives:
98 -
99 id: s2-binaries
100 name_template: "s2-{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
101 format_overrides:
102 - goos: windows
103 formats: ['zip']
104 files:
105 - unpack/*
106 - s2/LICENSE
107 - s2/README.md
108 checksum:
109 name_template: 'checksums.txt'
110 snapshot:
111 version_template: "{{ .Tag }}-next"
112 changelog:
113 sort: asc
114 filters:
115 exclude:
116 - '^doc:'
117 - '^docs:'
118 - '^test:'
119 - '^tests:'
120 - '^Update\sREADME.md'
121
122 nfpms:
123 -
124 file_name_template: "s2_package__{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
125 vendor: Klaus Post
126 homepage: https://github.com/klauspost/compress
127 maintainer: Klaus Post <[email protected]>
128 description: S2 Compression Tool
129 license: BSD 3-Clause
130 formats:
131 - deb
132 - rpm