-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.goreleaser.yml
51 lines (43 loc) · 996 Bytes
/
.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
archives:
- format_overrides:
- goos: windows
format: zip
before:
hooks:
- make clean
builds:
- env:
- CGO_ENABLED=0
ldflags:
- -s -w
- -X github.com/groupe-edf/watchdog/internal/version.Version={{.Tag}}
- -X github.com/groupe-edf/watchdog/internal/version.BuildDate={{.Date}}
- -X github.com/groupe-edf/watchdog/internal/version.Commit={{.FullCommit}}
- -X github.com/groupe-edf/watchdog/internal/version.Sha={{.ShortCommit}}
goos:
- darwin
- linux
- windows
goarch:
- amd64
mod_timestamp: "{{ .CommitTimestamp }}"
changelog:
skip: true
checksum:
name_template: "{{ .ProjectName }}_checksums.txt"
dist: target
nfpms:
- homepage: https://github.com/groupe-edf/watchdog
maintainer: Habib MAALEM <habib.maalem@gmail.com>
description: Git server-side Custom Hooks
vendor: watchdog
license: GPL
formats:
- apk
- deb
- rpm
empty_folders:
- /var/log/watchdog
project_name: watchdog
snapshot:
name_template: snapshot_{{ .Commit }}