summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike JS. Choi <mkchoi212@icloud.com>2018-01-02 12:11:27 -0600
committerMike JS. Choi <mkchoi212@icloud.com>2018-01-02 12:26:44 -0600
commit298d7e6d564e8322279cdd791388ca973ccb90d4 (patch)
tree10278595e6cc547eeac998938d4458412b1b5a43
parentcf0cb233d1af94b0c63b07b03f0b558819658e2c (diff)
Add .goreleaser.ymlv1.0.0
-rw-r--r--.goreleaser.yml70
1 files changed, 70 insertions, 0 deletions
diff --git a/.goreleaser.yml b/.goreleaser.yml
new file mode 100644
index 0000000..2a0a900
--- /dev/null
+++ b/.goreleaser.yml
@@ -0,0 +1,70 @@
+project_name: fac
+release:
+ github:
+ owner: mkchoi212
+ name: fac
+ name_template: '{{.Tag}}'
+
+brew:
+ commit_author:
+ name: Mike Choi
+ email: mkchoi212@icloud.com
+
+ 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