/
.goreleaser.yml
65 lines (57 loc) · 1.19 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
project_name: gomangareaderdl
env:
- GO111MODULE=on
before:
hooks:
- go mod download
builds:
- id: gomangareaderdl-build
main: gomangareaderdl.go
binary: gomangareaderdl
env:
- CGO_ENABLED=1
goos:
- windows
# - linux
# - darwin
goarch:
- amd64
archives:
- id: gomangareaderdl-archive
# Builds reference which build instances should be archived in this archive.
builds:
- gomangareaderdl-build
name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
replacements:
amd64: 64-bit
darwin: macOS
wrap_in_directory: false
format: gz
files:
- none*
format_overrides:
- goos: windows
format: zip
checksum:
name_template: "{{ .ProjectName }}-{{ .Version }}-checksums.txt"
algorithm: md5
#signs:
# - artifacts: checksum
release:
github:
owner: francoiscolombo
name: gomangareaderdl
# If set to true, will not auto-publish the release.
# Default is false.
draft: true
prerelease: auto
name_template: "{{.ProjectName}}-v{{.Version}}"
disable: true
changelog:
skip: false
sort: asc
filters:
exclude:
- '^docs:'
- typo
- (?i)foo