-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
52 lines (43 loc) · 1021 Bytes
/
.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
# SPDX-FileCopyrightText: 2024 Tobias Böhm <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-or-later
project_name: virtrun
version: 2
gomod:
proxy: true
builds:
- binary: virtrun
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: Virtrun
homepage: https://github.com/aibor/virtrun
maintainer: Tobias Böhm <[email protected]>
description: Run commands in a minimal QEMU guest. Bring your own kernel.
license: GPL-3.0-or-later
formats:
- deb
- rpm
- apk
- archlinux
file_name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"