-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.goreleaser.yaml
77 lines (70 loc) · 1.69 KB
/
.goreleaser.yaml
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
68
69
70
71
72
73
74
75
76
77
project_name: feserve
dist: bin
before:
hooks:
- go mod tidy
builds:
- binary: feserve
ldflags:
- -s -w -X github.com/ryanbekhen/feserve.Version={{ .Version }}
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
- arm
goarm:
- "7"
ignore:
- goos: windows
goarch: arm
- goos: darwin
goarch: arm
dockers:
- image_templates:
- "ghcr.io/ryanbekhen/feserve:{{ .Version }}"
- "ghcr.io/ryanbekhen/feserve:latest"
dockerfile: Dockerfile
build_flag_templates:
- --label=org.opencontainers.image.title={{ .ProjectName }}
- --label=org.opencontainers.image.description={{ .ProjectName }}
- --label=org.opencontainers.image.url=https://github.com/ryanbekhen/feserve
- --label=org.opencontainers.image.source=https://github.com/ryanbekhen/feserve
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=Apache-2.0
release:
draft: false
archives:
- rlcp: true
format: zip
files:
- LICENSE*
- CHANGELOG*
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: '{{ incpatch .Version }}-next'
changelog:
use: git
sort: asc
groups:
- title: Features
regexp: "^.*feat[(\\w)]*:+.*$"
order: 0
- title: 'Bug fixes'
regexp: "^.*fix[(\\w)]*:+.*$"
order: 1
- title: 'Enhancements'
regexp: "^.*chore[(\\w)]*:+.*$"
order: 2
- title: Others
order: 999
filters:
exclude:
- '^docs:'