-
Notifications
You must be signed in to change notification settings - Fork 6
/
.goreleaser.yml
69 lines (65 loc) · 1.53 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
#! .goreleaser.yaml
changelog:
sort: asc
use: github
filters:
include:
- '^.*#[[:digit:]]+.*$'
groups:
- title: ⚠️ Breaking Changes
regexp: '^[[:xdigit:]]+: [[:lower:]]+(\(.*\))?!:.*$'
order: 1
- title: 🚀 New Features
regexp: '^[[:xdigit:]]+: feat(\(.*\))?:.*$'
order: 2
- title: 🐛 Bug Fixes
regexp: '^[[:xdigit:]]+: fix(\(.*\))?:.*$'
order: 3
- title: 📖 Docs
regexp: '^[[:xdigit:]]+: docs(\(.*\))?:.*$'
order: 4
- title: 🤖 Bumps
regexp: '^[[:xdigit:]]+: (gomod|build)\(deps\):.*$'
order: 5
- title: 🐒 Miscellaneous
order: 999
release:
github:
owner: unikraft
name: governance
draft: false
prerelease: false
mode: replace
header: |
## `governctl` {{ .Tag }} ({{ .Date }})
This is a stable release of `governctl`.
name_template: 'v{{ .Version }}'
nfpms:
- vendor: Unikraft
id: nfpm-default
maintainer: Alexander Jung <[email protected]>
description: Build and use highly customized and ultra-lightweight unikernels.
license: BSD 3-clause
bindir: /usr/local/bin
homepage: https://github.com/unikraft/governance
formats:
- deb
- rpm
- apk
builds:
- binary: governctl
main: ./cmd/governctl
env:
- CGO_ENABLED=0
- GOMOD=github.com/unikraft/governance
goos:
- linux
- darwin
goarch:
- amd64
- arm64
ldflags:
- -s -w
- -X {{ .Env.GOMOD }}/internal/version.version={{ .Version }}
- -X {{ .Env.GOMOD }}/internal/version.commit={{ .Commit }}
- -X {{ .Env.GOMOD }}/internal/version.buildTime={{ .Date }}