1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-27 01:33:39 +02:00
goreleaser/.goreleaser.yml
Carlos Alexandro Becker 71cef9553f
push :latest as well
2017-09-16 15:39:02 -03:00

58 lines
1.3 KiB
YAML

builds:
-
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- 386
- amd64
- arm
- arm64
checksum:
name_template: '{{ .ProjectName }}_checksums.txt'
dockers:
- image: goreleaser/goreleaser
latest: true
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: http://goreleaser.github.io
description: Deliver Go binaries as fast and easily as possible
test: |
system "#{bin}/goreleaser -v"
fpm:
homepage: http://goreleaser.github.io
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:
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