File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 1
1
bin /
2
2
go /
3
3
* .snap
4
+
5
+ dist /
Original file line number Diff line number Diff line change
1
+ # This is an example .goreleaser.yml file with some sensible defaults.
2
+ # Make sure to check the documentation at https://goreleaser.com
3
+
4
+ # The lines below are called `modelines`. See `:help modeline`
5
+ # Feel free to remove those if you don't want/need to use them.
6
+ # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
7
+ # vim: set ts=2 sw=2 tw=0 fo=cnqoj
8
+
9
+ version : 2
10
+
11
+ before :
12
+ hooks :
13
+ # You may remove this if you don't use go modules.
14
+ - go mod tidy
15
+ # you may remove this if you don't need go generate
16
+ - go generate ./...
17
+
18
+ builds :
19
+ - env :
20
+ - CGO_ENABLED=0
21
+ goos :
22
+ - linux
23
+
24
+ archives :
25
+ - format : tar.gz
26
+ # this name template makes the OS and Arch compatible with the results of `uname`.
27
+ name_template : >-
28
+ {{ .ProjectName }}_
29
+ {{- title .Os }}_
30
+ {{- if eq .Arch "amd64" }}x86_64
31
+ {{- else if eq .Arch "386" }}i386
32
+ {{- else }}{{ .Arch }}{{ end }}
33
+ {{- if .Arm }}v{{ .Arm }}{{ end }}
34
+
35
+ changelog :
36
+ sort : asc
37
+ filters :
38
+ exclude :
39
+ - " ^docs:"
40
+ - " ^test:"
41
+
42
+ nfpms :
43
+ - id : slurm_exporter
44
+ package_name : slurm_exporter
45
+ formats :
46
+ - rpm
You can’t perform that action at this time.
0 commit comments