1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 09:37:02 +00:00

Default config from goreleaser init

This commit is contained in:
James Hillyerd
2017-12-17 11:19:53 -08:00
parent db358fea8c
commit 095796c8a1
2 changed files with 50 additions and 0 deletions

1
.gitignore vendored
View File

@@ -28,6 +28,7 @@ _testmain.go
# our binaries # our binaries
/inbucket /inbucket
/inbucket.exe /inbucket.exe
/dist/**
/target/** /target/**
/cmd/client/client /cmd/client/client
/cmd/client/client.exe /cmd/client/client.exe

49
.goreleaser.yml Normal file
View File

@@ -0,0 +1,49 @@
release:
github:
owner: 'https:'
name_template: '{{.Tag}}'
brew:
commit_author:
name: goreleaserbot
email: goreleaser@carlosbecker.com
install: bin.install ""
builds:
- goos:
- linux
- darwin
goarch:
- amd64
- "386"
goarm:
- "6"
main: .
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
archive:
format: tar.gz
name_template: '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{
.Arm }}{{ end }}'
files:
- licence*
- LICENCE*
- license*
- LICENSE*
- readme*
- README*
- changelog*
- CHANGELOG*
fpm:
bindir: /usr/local/bin
snapshot:
name_template: SNAPSHOT-{{ .Commit }}
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
dist: dist
sign:
cmd: gpg
args:
- --output
- $signature
- --detach-sig
- $artifact
signature: ${artifact}.sig
artifacts: none