1
1
mirror of https://github.com/goreleaser/nfpm synced 2024-11-19 07:34:48 +01:00
nfpm/.goreleaser.yml
2018-03-11 15:45:00 -03:00

47 lines
899 B
YAML

builds:
- main: ./cmd/nfpm
hooks:
pre: packr
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
# TODO: build a functional docker image
# dockers:
# - image: goreleaser/nfpm
# tag_templates:
# - '{{ .Tag }}'
# - 'v{{ .Major }}.{{ .Minor }}'
# - 'latest'
archive:
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
brew:
github:
owner: goreleaser
name: homebrew-tap
folder: Formula
homepage: https://github.com/goreleaser/nfpm
description: NFPM is not FPM
test: |
system "#{bin}/nfpm -v"
nfpm:
name_template: '{{ .ProjectName }}_{{ .Arch }}'
homepage: https://github.com/goreleaser/nfpm
description: NFPM is not FPM
maintainer: Carlos Alexandro Becker <root@carlosbecker.com>
license: MIT
vendor: GoReleaser
formats:
- deb
- rpm
recommends:
- rpm