-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.goreleaser.yml
67 lines (60 loc) · 1.43 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
59
60
61
62
63
64
65
66
67
env:
- GO111MODULE=on
- CGO_ENABLED=0
builds:
- goos:
- darwin
- windows
- linux
goarch:
- amd64
- "386"
ldflags:
- -s -w -X main.version={{.Version}}
ignore:
- goos: darwin
goarch: "386"
archives:
- format: tar.gz
name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
files:
- LICENSE*
- README*
brews:
- tap:
owner: shihanng
name: homebrew-devto
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
commit_author:
name: "Shi Han NG"
email: [email protected]
description: "CLI tool to publish article to https://dev.to/"
homepage: "https://github.com/shihanng/devto"
install: |
bin.install Dir['devto']
test: |
system "#{bin}/devto"
nfpms:
- homepage: https://github.com/shihanng/devto
maintainer: Shi Han NG <[email protected]>
file_name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
description: "CLI tool to publish article to https://dev.to/"
bindir: /usr/local/bin
license: MIT
formats:
- deb
- rpm
dockers:
- goos: linux
goarch: amd64
binaries:
- devto
image_templates:
- "shihanng/devto:latest"
- "shihanng/devto:{{ .Tag }}"
checksum:
name_template: "{{ .ProjectName }}_checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
skip: true