-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathgoreleaser.rpm.yaml
More file actions
42 lines (38 loc) · 989 Bytes
/
goreleaser.rpm.yaml
File metadata and controls
42 lines (38 loc) · 989 Bytes
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
version: 2
before:
hooks:
- go mod tidy
builds:
- id: linux-builds
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
binary: "stackit"
ldflags:
- -s -w
- -X github.com/stackitcloud/stackit-cli/internal/cmd.Version={{.Version}}
- -X github.com/stackitcloud/stackit-cli/internal/cmd.Commit={{.Commit}}
- -X github.com/stackitcloud/stackit-cli/internal/cmd.Date={{.Date}}
archives: [] # No archives, just RPMs
nfpms:
- id: linux_packages
ids:
- linux-builds
package_name: stackit
vendor: STACKIT
homepage: https://github.com/stackitcloud/stackit-cli
maintainer: STACKIT Developer Tools Team <developer-tools@stackit.cloud>
description: A command-line interface to manage STACKIT resources.
license: Apache 2.0
formats:
- rpm
rpm:
signature:
key_file: "{{ .Env.GPG_KEY_PATH }}"
contents:
- src: LICENSE.md
dst: LICENSE.md