mirror of
https://github.com/goreleaser/nfpm
synced 2024-11-18 19:04:07 +01:00
53 lines
982 B
YAML
53 lines
982 B
YAML
env:
|
|
- GO111MODULE=on
|
|
- GOPROXY=https://gocenter.io
|
|
before:
|
|
hooks:
|
|
- go mod download
|
|
builds:
|
|
- main: ./cmd/nfpm
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
- darwin
|
|
goarch:
|
|
- amd64
|
|
dockers:
|
|
- image_templates:
|
|
- 'goreleaser/nfpm:{{ .Tag }}'
|
|
- 'goreleaser/nfpm:v{{ .Major }}.{{ .Minor }}'
|
|
- 'goreleaser/nfpm:latest'
|
|
changelog:
|
|
filters:
|
|
exclude:
|
|
- Merge
|
|
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
|