-
Notifications
You must be signed in to change notification settings - Fork 4
/
.goreleaser.yml
56 lines (51 loc) · 1.33 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
project_name: sonar
builds:
- dir: sonar
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm
- arm64
goarm:
- 7
ldflags:
- -s -w -X github.com/felicianotech/sonar/sonar/cmd.version={{ .Version }} -extldflags "-static"
archives:
- format: tar.gz
format_overrides:
- goos: windows
format: zip
name_template: >-
{{ .ProjectName }}-v{{ .Version }}-{{ if eq .Os "darwin" }}macos{{ else }}{{ .Os }}{{ end }}-{{ .Arch }}{{ if .Arm }}hf{{ end }}
files:
- LICENSE
- README.md
rlcp: true
nfpms:
- file_name_template: "{{ .ProjectName }}-v{{ .Version }}-{{ .Arch }}{{ if .Arm }}hf{{ end }}"
homepage: "https://www.Feliciano.Tech"
maintainer: "Ricardo N Feliciano <Ricardo@Feliciano.Tech>"
description: "A Docker utility."
license: MIT
formats:
- deb
bindir: /usr/bin
recommends:
- docker-ce
brews:
- tap:
owner: felicianotech
name: homebrew-tap
commit_author:
name: "Ricardo N Feliciano (FelicianoTech)"
email: "Ricardo@Feliciano.Tech"
folder: Formula
homepage: "https://github.com/felicianotech/sonar"
description: "A Docker utility."
test: |
system "#{bin}/sonar", "help"
checksum:
name_template: "{{ .ProjectName }}-v{{ .Version }}-checksums.txt"