Skip to content

Commit

Permalink
Add .goreleaser.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mkchoi212 committed Jan 2, 2018
1 parent cf0cb23 commit 298d7e6
Showing 1 changed file with 70 additions and 0 deletions.
70 changes: 70 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
project_name: fac
release:
github:
owner: mkchoi212
name: fac
name_template: '{{.Tag}}'

brew:
commit_author:
name: Mike Choi
email: [email protected]

github:
owner: mkchoi212
name: fac

folder: assets
homepage: "https://github.com/mkchoi212/fac"
description: "Command line User Interface for fixing git conflicts"
dependencies:
- git
- go
install: bin.install "fac"

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}}
binary: fac
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 }}
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
dist: dist
sign:
cmd: gpg
args:
- --output
- $signature
- --detach-sig
- $artifact
signature: ${artifact}.sig
artifacts: none

0 comments on commit 298d7e6

Please sign in to comment.