forked from nicoxiang/geektime-downloader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
43 lines (43 loc) · 1.03 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
release:
name_template: "{{ .Version }} - {{ .Date }}"
draft: true
header: |
[![Github Releases ({{ .Tag }})](https://img.shields.io/github/downloads/nicoxiang/geektime-downloader/{{ .Tag }}/total.svg)](https://github.com/nicoxiang/geektime-downloader/releases/latest) [![Github All Releases](https://img.shields.io/github/downloads/nicoxiang/geektime-downloader/total.svg)](https://github.com/nicoxiang/geektime-downloader/releases)
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- 386
- amd64
- arm
- arm64
ignore:
- goos: windows
goarch: arm
flags:
- -trimpath
ldflags:
- -s -w -X main.version={{ .Version }}
archives:
-
format_overrides:
- goos: windows
format: zip
files:
- README*
- LICENSE*
- "*.1"
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}"
changelog:
sort: desc
filters:
exclude:
- '^docs:'
- '^test:'