-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
58 lines (57 loc) · 1.22 KB
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
version: 2
project_name: gogh
builds:
- id: default
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
- "386"
main: ./cmd/gogh
binary: gogh
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
hooks:
post:
- make man VERSION={{.Version}} COMMIT={{.ShortCommit}} DATE={{.Date}}
brews:
- install: |
bin.install "gogh"
man1.install Dir.glob('gogh*.1')
repository:
owner: kyoh86
name: homebrew-tap
directory: Formula
homepage: https://github.com/kyoh86/gogh
description: GO GitHub project manager
license: MIT
nfpms:
- builds:
- default
maintainer: kyoh86 <me@kyoh86.dev>
homepage: https://github.com/kyoh86/gogh
description: GO GitHub project manager
license: MIT
formats:
- apk
- deb
- rpm
archives:
- id: gzip
format: tar.gz
format_overrides:
- goos: windows
format: zip
files:
- licence*
- LICENCE*
- license*
- LICENSE*
- readme*
- README*
- changelog*
- CHANGELOG*
- gogh*.1