mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-08 03:31:59 +02:00
42427782ac
* feat: nfpm support * fix: rpm * fix: rpm: bindir * fix: nfpm tests and coverage * chore: fixed nfpm version * chore: deliver goreleaser itself with nfpm * fix: add nfpm to the pipeline * chore: bump nfpm * bump: nfpm * docs: nfpm and deprecation notices * chore: nfpm v0.3.1
79 lines
1.8 KiB
YAML
79 lines
1.8 KiB
YAML
builds:
|
|
-
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
- darwin
|
|
- windows
|
|
goarch:
|
|
- 386
|
|
- amd64
|
|
- arm
|
|
- arm64
|
|
checksum:
|
|
name_template: '{{ .ProjectName }}_checksums.txt'
|
|
changelog:
|
|
sort: asc
|
|
filters:
|
|
exclude:
|
|
- '^docs:'
|
|
- '^test:'
|
|
- Merge pull request
|
|
- Merge branch
|
|
dockers:
|
|
- image: goreleaser/goreleaser
|
|
tag_templates:
|
|
- '{{ .Tag }}'
|
|
- 'v{{ .Major }}.{{ .Minor }}'
|
|
- 'latest'
|
|
archive:
|
|
name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
|
|
replacements:
|
|
darwin: Darwin
|
|
linux: Linux
|
|
windows: Windows
|
|
386: i386
|
|
amd64: x86_64
|
|
format_overrides:
|
|
- goos: windows
|
|
format: zip
|
|
brew:
|
|
github:
|
|
owner: goreleaser
|
|
name: homebrew-tap
|
|
folder: Formula
|
|
homepage: https://goreleaser.com
|
|
description: Deliver Go binaries as fast and easily as possible
|
|
test: |
|
|
system "#{bin}/goreleaser -v"
|
|
scoop:
|
|
bucket:
|
|
owner: goreleaser
|
|
name: scoop-bucket
|
|
homepage: https://goreleaser.com
|
|
description: Deliver Go binaries as fast and easily as possible
|
|
license: MIT
|
|
nfpm:
|
|
name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
|
|
homepage: https://goreleaser.com
|
|
description: Deliver Go binaries as fast and easily as possible
|
|
maintainer: Carlos Alexandro Becker <root@carlosbecker.com>
|
|
license: MIT
|
|
vendor: GoReleaser
|
|
formats:
|
|
- deb
|
|
- rpm
|
|
dependencies:
|
|
- git
|
|
snapcraft:
|
|
name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
|
|
summary: Deliver Go binaries as fast and easily as possible
|
|
description: |
|
|
GoReleaser builds Go binaries for several platforms, creates a GitHub
|
|
release and then pushes a Homebrew formula to a repository. All that
|
|
wrapped in your favorite CI.
|
|
grade: stable
|
|
confinement: classic
|
|
|