diff options
Diffstat (limited to 'vendor/github.com/klauspost/cpuid/v2/.goreleaser.yml')
-rw-r--r-- | vendor/github.com/klauspost/cpuid/v2/.goreleaser.yml | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/vendor/github.com/klauspost/cpuid/v2/.goreleaser.yml b/vendor/github.com/klauspost/cpuid/v2/.goreleaser.yml new file mode 100644 index 0000000..944cc00 --- /dev/null +++ b/vendor/github.com/klauspost/cpuid/v2/.goreleaser.yml | |||
@@ -0,0 +1,74 @@ | |||
1 | # This is an example goreleaser.yaml file with some sane defaults. | ||
2 | # Make sure to check the documentation at http://goreleaser.com | ||
3 | |||
4 | builds: | ||
5 | - | ||
6 | id: "cpuid" | ||
7 | binary: cpuid | ||
8 | main: ./cmd/cpuid/main.go | ||
9 | env: | ||
10 | - CGO_ENABLED=0 | ||
11 | flags: | ||
12 | - -ldflags=-s -w | ||
13 | goos: | ||
14 | - aix | ||
15 | - linux | ||
16 | - freebsd | ||
17 | - netbsd | ||
18 | - windows | ||
19 | - darwin | ||
20 | goarch: | ||
21 | - 386 | ||
22 | - amd64 | ||
23 | - arm64 | ||
24 | goarm: | ||
25 | - 7 | ||
26 | |||
27 | archives: | ||
28 | - | ||
29 | id: cpuid | ||
30 | name_template: "cpuid-{{ .Os }}_{{ .Arch }}_{{ .Version }}" | ||
31 | replacements: | ||
32 | aix: AIX | ||
33 | darwin: OSX | ||
34 | linux: Linux | ||
35 | windows: Windows | ||
36 | 386: i386 | ||
37 | amd64: x86_64 | ||
38 | freebsd: FreeBSD | ||
39 | netbsd: NetBSD | ||
40 | format_overrides: | ||
41 | - goos: windows | ||
42 | format: zip | ||
43 | files: | ||
44 | - LICENSE | ||
45 | checksum: | ||
46 | name_template: 'checksums.txt' | ||
47 | snapshot: | ||
48 | name_template: "{{ .Tag }}-next" | ||
49 | changelog: | ||
50 | sort: asc | ||
51 | filters: | ||
52 | exclude: | ||
53 | - '^doc:' | ||
54 | - '^docs:' | ||
55 | - '^test:' | ||
56 | - '^tests:' | ||
57 | - '^Update\sREADME.md' | ||
58 | |||
59 | nfpms: | ||
60 | - | ||
61 | file_name_template: "cpuid_package_{{ .Version }}_{{ .Os }}_{{ .Arch }}" | ||
62 | vendor: Klaus Post | ||
63 | homepage: https://github.com/klauspost/cpuid | ||
64 | maintainer: Klaus Post <[email protected]> | ||
65 | description: CPUID Tool | ||
66 | license: BSD 3-Clause | ||
67 | formats: | ||
68 | - deb | ||
69 | - rpm | ||
70 | replacements: | ||
71 | darwin: Darwin | ||
72 | linux: Linux | ||
73 | freebsd: FreeBSD | ||
74 | amd64: x86_64 | ||