-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.goreleaser.yml
84 lines (81 loc) · 1.59 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
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
project_name: tinc-web-boot
before:
hooks:
- make regen
builds:
- main: ./cmd/tinc-web-boot/
id: posix-build
binary: tinc-web-boot
env:
- CGO_ENABLED=0
goarch:
- amd64
- arm
- arm64
goarm:
- 5
- 6
- 7
goos:
- linux
- darwin
flags:
- -trimpath
- main: ./cmd/tinc-web-boot/
id: windows-build
binary: tinc-web-boot
env:
- CGO_ENABLED=0
goarch:
- amd64
goos:
- windows
flags:
- -trimpath
nfpms:
- id: debian
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
replacements:
Linux: linux
386: i386
homepage: https://github.com/tinc-boot/tinc-web-boot
maintainer: Baryshnikov Aleksandr <[email protected]>
description: Web desktop tinc control panel and management
license: Mozilla Public License Version 2.0
formats:
- deb
dependencies:
- tinc
archives:
- replacements:
Linux: linux
386: i386
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
id: posix-archive
builds:
- posix-build
files:
- LICENSE
- README.md
format: tar.gz
- name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
id: windows-archive
builds:
- windows-build
files:
- LICENSE
- README.md
- assets/windows/**/**
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^doc:'
- '^test:'
- '^build:'