summaryrefslogtreecommitdiffstats
path: root/.goreleaser.yml
diff options
context:
space:
mode:
Diffstat (limited to '.goreleaser.yml')
-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