Skip to content

Commit 26c3b56

Browse files
Add LICENSE to deb and rpm pkg
1 parent 59834bf commit 26c3b56

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

.goreleaser.yaml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ builds:
1616
goos:
1717
- windows
1818
binary: "stackit"
19-
19+
2020
- id: macos-builds
2121
env:
2222
- CGO_ENABLED=0
2323
- BUNDLE_ID=cloud.stackit.cli
24-
- 'APPLE_APPLICATION_IDENTITY=Developer ID Application: Schwarz IT KG'
24+
- "APPLE_APPLICATION_IDENTITY=Developer ID Application: Schwarz IT KG"
2525
goos:
2626
- darwin
2727
binary: "stackit"
@@ -66,13 +66,24 @@ nfpms:
6666
maintainer: STACKIT <[email protected]>
6767
description: A command-line interface to manage STACKIT resources.
6868
license: Apache 2.0
69+
contents:
70+
- src: LICENSE.md
71+
dst: LICENSE.md
6972
formats:
7073
- deb
7174
- rpm
7275

7376
signs:
7477
- artifacts: package
75-
args: ["-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"]
78+
args:
79+
[
80+
"-u",
81+
"{{ .Env.GPG_FINGERPRINT }}",
82+
"--output",
83+
"${signature}",
84+
"--detach-sign",
85+
"${artifact}",
86+
]
7687

7788
brews:
7889
- name: stackit
@@ -93,7 +104,7 @@ brews:
93104
snapcrafts:
94105
# IDs of the builds for which to create packages for
95106
- builds:
96-
- linux-builds
107+
- linux-builds
97108
# The name of the snap
98109
name: stackit
99110
# The canonical title of the application, displayed in the software
@@ -102,7 +113,7 @@ snapcrafts:
102113
summary: A command-line interface to manage STACKIT resources.
103114
description: "A command-line interface to manage STACKIT resources.\nThis CLI is in a BETA state. More services and functionality will be supported soon."
104115
license: Apache-2.0
105-
# Will only publish to `edge` and `beta` channels
116+
# Will only publish to `edge` and `beta` channels
106117
grade: devel
107118
# Skip publishing until we get approval for used interfaces or classic confinement
108119
publish: false

0 commit comments

Comments
 (0)