From e4b20dca79091532e7a71500d74b39af91220a79 Mon Sep 17 00:00:00 2001 From: Harry Bagdi Date: Sat, 12 Jan 2019 22:09:25 -0800 Subject: [PATCH] chore(goreleaser) add rpm, deb generation Also dropped arm, arm64 and 386 builds. --- .goreleaser.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index f27273522..738f327c5 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -13,11 +13,9 @@ builds: - linux - darwin - windows + - freebsd goarch: - - 386 - amd64 - - arm - - arm64 asmflags: - all=-trimpath={{.Env.GOPATH}} ldflags: @@ -27,3 +25,12 @@ checksum: name_template: 'checksums.txt' snapshot: name_template: "{{ .Tag }}" +nfpm: + name_template: '{{ .ProjectName }}_{{ .Tag }}_{{ .Arch }}' + homepage: https://github.com/hbagdi/deck + description: Declarative configuration for Kong + maintainer: Harry Bagdi + license: Apache License v2.0 + formats: + - deb + - rpm