-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
58 lines (49 loc) · 1.23 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
57
58
# SPDX-FileCopyrightText: 2024 Tobias Böhm <[email protected]>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
project_name: exceed2go
version: 2
before:
hooks:
- sh -c "cp -v {{ .Env.ARTIFACTSDIR }}/* internal/bpf/"
builds:
- binary: exceed2go
mod_timestamp: "{{.CommitTimestamp}}"
ldflags:
- -s -w
flags:
- -trimpath
goos:
- linux
goarch:
- amd64
- arm64
env:
- CGO_ENABLED=0
archives:
- name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}"
release:
header: |
## {{ .TagSubject }} ({{ .Now.Format "2006-01-02" }})
{{ .TagBody }}
snapshot:
version_template: "{{ .Tag }}"
checksum:
name_template: "{{ .ProjectName }}_checksums.txt"
nfpms:
- vendor: Exceed2Go
homepage: https://github.com/aibor/exceed2go
maintainer: Tobias Böhm <[email protected]>
description: ICMPv6 time exceeded packet generator.
license: AGPL-3.0-or-later
formats:
- deb
- rpm
- archlinux
file_name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
contents:
- src: extra/exceed2go.conf
dst: /etc/exceed2go.conf
type: config|noreplace
- src: extra/exceed2go.service
dst: /usr/lib/systemd/system/exceed2go.service