-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.quick.yaml
More file actions
89 lines (77 loc) · 2.11 KB
/
Copy path.goreleaser.quick.yaml
File metadata and controls
89 lines (77 loc) · 2.11 KB
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
version: 2
before:
hooks:
- sh -c "cd daemon/webui && npm ci && npm run build"
snapshot:
version_template: '0-{{ .ShortCommit }}-dev'
builds:
- id: a2ald
main: ./cmd/a2ald
binary: a2ald
goos: [linux, darwin, windows]
goarch: [amd64]
env:
- CGO_ENABLED=0
ldflags:
- -s -w
-X github.com/a2al/a2al/internal/version.Version={{.Version}}
-X github.com/a2al/a2al/internal/version.Commit={{.ShortCommit}}
-X github.com/a2al/a2al/internal/version.BuildDate={{.Date}}
- id: a2al
main: ./cmd/a2al
binary: a2al
goos: [linux, darwin, windows]
goarch: [amd64]
env:
- CGO_ENABLED=0
ldflags:
- -s -w
-X github.com/a2al/a2al/internal/version.Version={{.Version}}
-X github.com/a2al/a2al/internal/version.Commit={{.ShortCommit}}
-X github.com/a2al/a2al/internal/version.BuildDate={{.Date}}
archives:
- ids: [a2ald, a2al]
name_template: "a2al_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
format_overrides:
- goos: windows
formats: [zip]
nfpms:
- id: a2al-pkg
package_name: a2al
ids: [a2ald, a2al]
vendor: A2AL Authors
homepage: https://a2al.org
maintainer: A2AL Authors <noreply@github.com>
description: A2AL — decentralized agent networking (daemon + CLI)
license: MPL-2.0
formats: [deb, rpm]
bindir: /opt/a2al/bin
contents:
- src: deploy/linux/a2ald.service
dst: /etc/systemd/system/a2ald.service
file_info:
mode: 0644
- src: /opt/a2al/bin/a2ald
dst: /usr/local/bin/a2ald
type: symlink
- src: /opt/a2al/bin/a2al
dst: /usr/local/bin/a2al
type: symlink
scripts:
postinstall: deploy/linux/postinst
preremove: deploy/linux/prerm
postremove: deploy/linux/postrm
file_name_template: "a2al_{{ .Version }}_{{ .Arch }}"
overrides:
rpm:
file_name_template: "a2al-{{ .Version }}-1.{{ .Arch }}"
dependencies:
- systemd
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^chore:"
- Merge pull request