File: .goreleaser.yml

package info (click to toggle)
golang-github-nats-io-nkeys 0.4.10-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental, forky, sid, trixie
  • size: 216 kB
  • sloc: makefile: 3
file content (63 lines) | stat: -rw-r--r-- 1,200 bytes parent folder | download
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
project_name: nkeys
release:
  github:
    owner: nats-io
    name: nkeys
  name_template: '{{.Tag}}'
  draft: true
builds:
  - id: nk
    main: ./nk/main.go
    ldflags: "-X main.Version={{.Tag}}_{{.Commit}}"
    binary: nk
    goos:
      - darwin
      - linux
      - windows
      - freebsd
    goarch:
      - amd64
      - arm
      - arm64
      - 386
      - mips64le
      - s390x
    goarm:
      - 6
      - 7
    ignore:
      - goos: darwin
        goarch: 386
      - goos: freebsd
        goarch: arm
      - goos: freebsd
        goarch: arm64
      - goos: freebsd
        goarch: 386

dist: build

archives:
  - name_template: '{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm
    }}v{{ .Arm }}{{ end }}'
    wrap_in_directory: true
    format: zip
    files:
      - README.md
      - LICENSE

checksum:
  name_template: '{{ .ProjectName }}-v{{ .Version }}-checksums.txt'

snapshot:
  name_template: 'dev'

nfpms:
  - file_name_template: '{{ .ProjectName }}-v{{ .Version }}-{{ .Arch }}{{ if .Arm
    }}v{{ .Arm }}{{ end }}'
    maintainer: nats.io
    description: NKeys utility cli program
    vendor: nats-io
    bindir: /usr/local/bin
    formats:
      - deb