1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-31 01:53:50 +02:00
goreleaser/.goreleaser.yml
Andy Grunwald 1f5df43e75 Merge branch 'master' into artifactory-support
* master: (47 commits)
  docs: add docs for env vars in name_template
  test: add test for name_template with env var
  feat: support env vars for name_template
  docs: Fixed broken homebrew link
  docs: fixed master build status badge on readme
  chore: misspeled word on package docs
  feat: improved release notes
  chore: create config.yml
  chore: create stale.yml
  chore: push docs to master
  chore: changing the order of the tasks
  chore: using https instead of ssh url
  chore: always run make static on build
  chore: using travis deploy feature
  chore: automating docs deployment
  fix: do not decorate git log output
  chore: make static pushes repo as well
  docs: env support for docker tag_template
  feat: allow env vars for docker tag_template
  fix: move env vars to context
  ...
2017-12-08 21:50:02 +01:00

66 lines
1.5 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
- Merge pull request
- Merge branch
dockers:
- image: goreleaser/goreleaser
latest: true
tag_template: '{{ .Tag }}'
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