gtsocial-umbx

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

.goreleaser.yml (1425B)


      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 <klauspost@gmail.com>
     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