-
Notifications
You must be signed in to change notification settings - Fork 105
Expand file tree
/
Copy path.goreleaser.yml
More file actions
48 lines (42 loc) · 1.03 KB
/
Copy path.goreleaser.yml
File metadata and controls
48 lines (42 loc) · 1.03 KB
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
version: 2
before:
hooks:
- make dep
builds:
- binary: pgcenter
main: ./cmd
goarch:
- amd64
- arm64
goos:
- linux
env:
- CGO_ENABLED=0
ldflags:
- -a -installsuffix cgo
- -X github.com/lesovsky/pgcenter/internal/version.gitTag={{.Tag}}
- -X github.com/lesovsky/pgcenter/internal/version.gitCommit={{.Commit}}
- -X github.com/lesovsky/pgcenter/internal/version.gitBranch={{.Branch}}
archives:
- builds: [pgcenter]
formats: [tar.gz]
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
nfpms:
- vendor: pgcenter
homepage: https://github.com/lesovsky/pgcenter
maintainer: Alexey Lesovsky
description: Command-line admin tool for observing and troubleshooting Postgres.
license: BSD-3
formats: [deb, rpm, apk]
bindir: /usr/bin
checksum:
name_template: "checksums.txt"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^ci:"
- "Merge pull request"
- "Merge branch"