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
|
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
- freebsd
goarch:
- amd64
asmflags:
- all=-trimpath={{.Env.GOPATH}}
ldflags:
- -s -w -X github.com/kong/deck/cmd.VERSION={{ .Tag }} -X github.com/kong/deck/cmd.COMMIT={{ .ShortCommit }}
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}"
nfpms:
- file_name_template: '{{ .ProjectName }}_{{ .Tag }}_{{ .Arch }}'
homepage: https://github.com/kong/deck
description: Declarative configuration for Kong
maintainer: Harry Bagdi <harrybagdi@gmail.com>
license: Apache License v2.0
formats:
- deb
- rpm
brews:
- tap:
owner: kong
name: homebrew-deck
commit_author:
name: Harry Bagdi
email: harrybagdi@gmail.com
homepage: "https://github.com/kong/deck"
description: Declarative configuration for Kong
skip_upload: true
test: |
system "#{bin}/deck version"
|