2018-02-16 23:38:45 +01:00
|
|
|
builds:
|
2018-02-17 01:21:51 +01:00
|
|
|
- main: ./cmd/nfpm
|
2018-02-16 23:38:45 +01:00
|
|
|
hooks:
|
|
|
|
pre: packr
|
|
|
|
env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
- darwin
|
|
|
|
goarch:
|
|
|
|
- amd64
|
2018-02-17 01:47:22 +01:00
|
|
|
# dockers:
|
|
|
|
# - image: goreleaser/nfpm
|
|
|
|
# tag_templates:
|
|
|
|
# - '{{ .Tag }}'
|
|
|
|
# - 'v{{ .Major }}.{{ .Minor }}'
|
|
|
|
# - 'latest'
|
2018-02-16 23:38:45 +01:00
|
|
|
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"
|
2018-02-17 01:57:21 +01:00
|
|
|
# scoop:
|
|
|
|
# bucket:
|
|
|
|
# owner: goreleaser
|
|
|
|
# name: scoop-bucket
|
|
|
|
# homepage: https://github.com/goreleaser/nfpm
|
|
|
|
# description: NFPM is not FPM
|
|
|
|
# license: MIT
|
2018-02-17 01:42:34 +01:00
|
|
|
# TODO: change to nfpm when released
|
|
|
|
# fpm:
|
|
|
|
# name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
|
|
|
|
# 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
|
2018-02-16 23:38:45 +01:00
|
|
|
# TODO: should be able to do that "suggested packages" thing
|