-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
57 lines (57 loc) · 1.29 KB
/
.goreleaser.yaml
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
version: 2
project_name: manaha-minder
before:
hooks:
- go mod tidy
- go mod download
builds:
- binary: manaha_minder
ldflags: -s -w -X main.Version={{ .Version }}
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- "386"
- arm
- arm64
archives:
- name_template: >-
{{ .ProjectName }}-
{{- .Version }}-
{{- if eq .Os "linux" }}Linux
{{- else }}{{ .Os }}{{ end }}-
{{- if eq .Arch "amd64" }}64bit
{{- else if eq .Arch "386" }}32bit
{{- else if eq .Arch "arm" }}ARM
{{- else if eq .Arch "arm64" }}ARM64
{{- end }}
format: txz
files:
- LICENSE*
wrap_in_directory: false
checksum:
name_template: 'checksums.txt'
snapshot:
version_template: "{{ incpatch .Version }}-snapshot"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
gomod:
proxy: false
nfpms:
- package_name: manaha_minder
description: Manaha-minder is a tool to aid managing Minecraft servers.
license: MIT
homepage: github.com/Manaha-mender/manaha-minder
maintainer: Ben Lavery-Griffiths <[email protected]>
formats:
- deb
bindir: /usr/local/bin
contents:
- src: manaha-minder.service
dst: /etc/systemd/system/manaha-minder.service