Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
generated goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
markbates committed Oct 3, 2018
1 parent 81f14e1 commit 490fc80
Showing 1 changed file with 24 additions and 73 deletions.
97 changes: 24 additions & 73 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,75 +1,26 @@
project_name: buffalo
release:
github:
owner: gobuffalo
name: buffalo
name_template: '{{.Tag}}'
brew:
commit_author:
name: goreleaserbot
email: [email protected]
install: bin.install "buffalo"
# Code generated by github.com/gobuffalo/release. DO NOT EDIT.
# Edit .goreleaser.yml.plush instead

builds:
-
goos:
- linux
- darwin
- windows
goarch:
- amd64
goarm:
- "6"
main: ./buffalo/main.go
binary: buffalo-no-sqlite
hooks:
pre: packr
post: packr clean
-
goos:
- linux
- darwin
- windows
goarch:
- amd64
goarm:
- "6"
main: ./buffalo/main.go
binary: buffalo-with-zbuffalo
flags: -tags zbuffalo
hooks:
pre: packr
post: packr clean
archive:
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm
}}v{{ .Arm }}{{ end }}'
format: tar.gz
files:
- licence*
- LICENCE*
- license*
- LICENSE*
- readme*
- README*
- changelog*
- CHANGELOG*
fpm:
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm
}}v{{ .Arm }}{{ end }}'
bindir: /usr/local/bin
snapcraft:
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm
}}v{{ .Arm }}{{ end }}'
snapshot:
name_template: SNAPSHOT-{{ .Commit }}
-
goos:
- darwin
- linux
- windows
env:
- CGO_ENABLED=0
# main: ./buffalo/main.go

checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
dist: dist
sign:
cmd: gpg
args:
- --output
- $signature
- --detach-sig
- $artifact
signature: ${artifact}.sig
artifacts: none
name_template: 'checksums.txt'

snapshot:
name_template: "{{ .Tag }}-next"

changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

0 comments on commit 490fc80

Please sign in to comment.