| 1 | version: 2 |
| 2 | |
| 3 | builds: |
| 4 | - |
| 5 | id: "cpuid" |
| 6 | binary: cpuid |
| 7 | main: ./cmd/cpuid/main.go |
| 8 | env: |
| 9 | - CGO_ENABLED=0 |
| 10 | flags: |
| 11 | - -ldflags=-s -w |
| 12 | goos: |
| 13 | - aix |
| 14 | - linux |
| 15 | - freebsd |
| 16 | - netbsd |
| 17 | - windows |
| 18 | - darwin |
| 19 | goarch: |
| 20 | - 386 |
| 21 | - amd64 |
| 22 | - arm64 |
| 23 | goarm: |
| 24 | - 7 |
| 25 | |
| 26 | archives: |
| 27 | - |
| 28 | id: cpuid |
| 29 | name_template: "cpuid-{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" |
| 30 | format_overrides: |
| 31 | - goos: windows |
| 32 | formats: [ 'zip' ] |
| 33 | files: |
| 34 | - LICENSE |
| 35 | checksum: |
| 36 | name_template: 'checksums.txt' |
| 37 | changelog: |
| 38 | sort: asc |
| 39 | filters: |
| 40 | exclude: |
| 41 | - '^doc:' |
| 42 | - '^docs:' |
| 43 | - '^test:' |
| 44 | - '^tests:' |
| 45 | - '^Update\sREADME.md' |
| 46 | |
| 47 | nfpms: |
| 48 | - |
| 49 | file_name_template: "cpuid_package_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" |
| 50 | vendor: Klaus Post |
| 51 | homepage: https://github.com/klauspost/cpuid |
| 52 | maintainer: Klaus Post <[email protected]> |
| 53 | description: CPUID Tool |
| 54 | license: BSD 3-Clause |
| 55 | formats: |
| 56 | - deb |
| 57 | - rpm |