-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.goreleaser.yaml
91 lines (76 loc) · 1.63 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
project_name: archie
release:
name_template: "Release {{.Tag}}"
github:
owner: superleaguegaming
name: archie
draft: true
before:
hooks:
- go mod tidy
# - go generate ./...
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
# - windows
goarch:
- amd64
- arm64
ldflags:
- "-s -w"
- "-X archie/archie.Version={{.Version}}"
- "-X archie/archie.BuildDate={{.Date}}"
- "-X archie/archie.ReleaseTag={{.Tag}}"
- "-X archie/archie.CommitID={{.FullCommit}}"
- "-X archie/archie.ShortCommitID={{.ShortCommit}}"
checksum:
algorithm: sha256
name_template: "SHA256SUMS"
# TODO: add signing
#signs:
#- signature: "${artifact}.asc"
# cmd: "sh"
# args:
# - '-c'
# - 'gpg --quiet --detach-sign -a ${artifact}'
# artifacts: all
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
use: github
filters:
exclude:
- '^docs:'
- '^test:'
archives:
- id: targz-archives
name_template: '{{.ProjectName}}-{{.Tag}}-{{.Os}}-{{.Arch}}{{if .Arm}}{{.Arm}}{{end}}'
wrap_in_directory: true
format: tar.gz
files:
- README.md
- LICENSE
nfpms:
- id: archie
file_name_template: '{{.ProjectName}}-{{.Tag}}-{{.Arch}}{{if .Arm}}{{.Arm}}{{end}}'
package_name: archie
vendor: Super League Gaming
homepage: https://github.com/superleaguegaming/archie
maintainer: [email protected]
description: file copy worker
license: GPL v3
bindir: /usr/bin
formats:
- deb
- rpm
- apk
overrides:
rpm:
replacements:
amd64: x86_64
arm64: aarch64
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj