-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
126 lines (105 loc) · 3.04 KB
/
.goreleaser.yaml
File metadata and controls
126 lines (105 loc) · 3.04 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# The lines below are called `modelines`. See `:help modeline`
# Feel free to remove those if you don't want/need to use them.
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
version: 2
before:
hooks:
- go mod tidy
builds:
- id: wlhax
env:
- CGO_ENABLED=0
goos:
- linux
archives:
- name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
files:
- README.md
- LICENSE
nfpms:
# note that this is an array of nfpm configs
- #
# ID of the nfpm config, must be unique.
id: wlhax
package_name: wlhax
# You can change the file name of the package.
# Default: '{{ .PackageName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'.
file_name_template: "{{ .ConventionalFileName }}"
vendor: dwapp.
homepage: https://github.com/dwapp/wlhax
maintainer: rewine <lhongxu@outlook.com>
description: |-
Wayland proxy that monitors and displays various application state, such as the current surface tree, in a nice little TUI.
license: GPL 3.0
formats:
- apk
- deb
- rpm
- termux.deb
- archlinux
# Packages it provides.
provides:
- wlhax
# Path that the binaries should be installed.
bindir: /usr/bin
# Default: extracted from `version` if it is semver compatible.
epoch: "2"
# Version Metadata (previously deb.metadata).
# Setting metadata might interfere with version comparisons depending on the
# packager.
#
# Default: extracted from `version` if it is semver compatible.
version_metadata: git
# Version Release.
release: "1"
# Section.
section: default
# Priority.
priority: extra
# Makes a meta package - an empty package that contains only supporting
# files and dependencies.
# When set to `true`, the `builds` option is ignored.
meta: false
changelog: ./changelog.yml
# Custom configuration applied only to the Deb packager.
deb:
fields:
Bugs: https://github.com/dwapp/wlhax/issues
changelog:
sort: asc
use: github
filters:
exclude:
- "^test:"
- "^chore"
- "merge conflict"
- Merge pull request
- Merge remote-tracking branch
- Merge branch
- go mod tidy
groups:
- title: Dependency updates
regexp: "^.*feat\\(deps\\)*:+.*$"
order: 300
- title: "New Features"
regexp: "^.*feat[(\\w)]*:+.*$"
order: 100
- title: "Bug fixes"
regexp: "^.*fix[(\\w)]*:+.*$"
order: 200
- title: "Documentation updates"
regexp: "^.*docs[(\\w)]*:+.*$"
order: 400
- title: Other work
order: 9999
release:
footer: >-
---
Released by [GoReleaser](https://github.com/goreleaser/goreleaser).