File: .goreleaser.yml

package info (click to toggle)
golang-github-nats-io-nkeys 0.0~git20181103.f9a6cff-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 140 kB
  • sloc: makefile: 3
file content (38 lines) | stat: -rw-r--r-- 681 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
project_name: nkeys
release:
  github:
    owner: nats-io
    name: nkeys
  name_template: '{{.Tag}}'
  draft: true
builds:
  - main: ./nk/main.go
    ldflags: "-X main.Version={{.Tag}}_{{.Commit}}"
    binary: nk
    goos:
      - linux
      - darwin
    goarch:
      - amd64


dist: build

archive:
  wrap_in_directory: true
  name_template: '{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm
    }}v{{ .Arm }}{{ end }}'
  format: zip

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

snapshot:
  name_template: 'dev'

nfpm:
  formats:
    - deb
  bindir: /usr/local/bin
  description: NKeys utility cli program
  vendor: nats-io