forked from unikraft/kraftkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser-staging.yaml
53 lines (49 loc) · 1.14 KB
/
.goreleaser-staging.yaml
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
#! .goreleaser.yaml
changelog:
use: github
release:
github:
owner: unikraft
name: kraftkit
draft: false
prerelease: true
mode: replace
header: |
## KraftKit {{ .Tag }} ({{ .Date }})
This is the pre-release version of KraftKit.
name_template: 'v{{ .Version }}'
nfpms:
- vendor: Unikraft
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://kraftkit.sh
dependencies:
- libc6 (>= 2.14)
formats:
- deb
- rpm
- apk
builds:
#@ for binary in ["kraft"]:
- id: #@ "{}-linuxu".format(binary)
binary: #@ binary
main: #@ "./cmd/{}".format(binary)
env:
- CGO_ENABLED=1
- GOMOD=kraftkit.sh
goos:
- linux
goarch:
- amd64
ldflags:
- -s -w
- -X {{ .Env.GOMOD }}/internal/version.version={{ .Version }}
- -X {{ .Env.GOMOD }}/internal/version.commit={{ .Commit }}
- -X {{ .Env.GOMOD }}/internal/version.buildTime={{ .Date }}
tags:
- static
hooks:
pre: make git2go
#@ end