forked from cybertec-postgresql/pg_timetable
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
72 lines (64 loc) · 1.57 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
68
69
70
71
72
before:
hooks:
- go mod download
# - go generate ./...
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}'
wrap_in_directory: true
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
- README.md
- samples/*.sql
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
nfpms:
# note that this is an array of nfpm configs
-
# Replacements for GOOS and GOARCH in the package name.
# Keys should be valid GOOSs or GOARCHs.
# Values are the respective replacements.
# Default is empty.
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
vendor: Cybertec Schönig & Schönig GmbH
homepage: https://www.cybertec-postgresql.com/en/products/pg_timetable/
maintainer: Pavlo Golub <[email protected]>
description: pg_timetable - Advanced scheduling for PostgreSQL
license: MIT Licence
# Formats to be generated.
formats:
- deb
- rpm
# Files to add to your package (beyond the binary).
# Keys are source paths/globs to get the files from.
# Values are the destination locations of the files in the package.
# Use globs to add all contents of a folder.
# files:
# "scripts/etc/init.d/**": "/etc/init.d"
# "path/**/glob": "/var/foo/glob"