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:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -28,6 +28,7 @@ _testmain.go
|
||||
# our binaries
|
||||
/inbucket
|
||||
/inbucket.exe
|
||||
/dist/**
|
||||
/target/**
|
||||
/cmd/client/client
|
||||
/cmd/client/client.exe
|
||||
|
||||
49
.goreleaser.yml
Normal file
49
.goreleaser.yml
Normal 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
|
||||
Reference in New Issue
Block a user