From 26c3b566c931fd5f06d35d1506d0fc2f8156fa48 Mon Sep 17 00:00:00 2001 From: vicentepinto98 Date: Mon, 11 Mar 2024 11:05:22 +0000 Subject: [PATCH 1/3] Add LICENSE to deb and rpm pkg --- .goreleaser.yaml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 8d9a10038..99b44d315 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -16,12 +16,12 @@ builds: goos: - windows binary: "stackit" - + - id: macos-builds env: - CGO_ENABLED=0 - BUNDLE_ID=cloud.stackit.cli - - 'APPLE_APPLICATION_IDENTITY=Developer ID Application: Schwarz IT KG' + - "APPLE_APPLICATION_IDENTITY=Developer ID Application: Schwarz IT KG" goos: - darwin binary: "stackit" @@ -66,13 +66,24 @@ nfpms: maintainer: STACKIT description: A command-line interface to manage STACKIT resources. license: Apache 2.0 + contents: + - src: LICENSE.md + dst: LICENSE.md formats: - deb - rpm signs: - artifacts: package - args: ["-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"] + args: + [ + "-u", + "{{ .Env.GPG_FINGERPRINT }}", + "--output", + "${signature}", + "--detach-sign", + "${artifact}", + ] brews: - name: stackit @@ -93,7 +104,7 @@ brews: snapcrafts: # IDs of the builds for which to create packages for - builds: - - linux-builds + - linux-builds # The name of the snap name: stackit # The canonical title of the application, displayed in the software @@ -102,7 +113,7 @@ snapcrafts: summary: A command-line interface to manage STACKIT resources. description: "A command-line interface to manage STACKIT resources.\nThis CLI is in a BETA state. More services and functionality will be supported soon." license: Apache-2.0 - # Will only publish to `edge` and `beta` channels + # Will only publish to `edge` and `beta` channels grade: devel # Skip publishing until we get approval for used interfaces or classic confinement publish: false From f394b5fbdd7b50253361ec1f82d3e5e7724b06bd Mon Sep 17 00:00:00 2001 From: vicentepinto98 Date: Mon, 11 Mar 2024 11:07:14 +0000 Subject: [PATCH 2/3] Revert "Add LICENSE to deb and rpm pkg" This reverts commit 26c3b566c931fd5f06d35d1506d0fc2f8156fa48. --- .goreleaser.yaml | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 99b44d315..8d9a10038 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -16,12 +16,12 @@ builds: goos: - windows binary: "stackit" - + - id: macos-builds env: - CGO_ENABLED=0 - BUNDLE_ID=cloud.stackit.cli - - "APPLE_APPLICATION_IDENTITY=Developer ID Application: Schwarz IT KG" + - 'APPLE_APPLICATION_IDENTITY=Developer ID Application: Schwarz IT KG' goos: - darwin binary: "stackit" @@ -66,24 +66,13 @@ nfpms: maintainer: STACKIT description: A command-line interface to manage STACKIT resources. license: Apache 2.0 - contents: - - src: LICENSE.md - dst: LICENSE.md formats: - deb - rpm signs: - artifacts: package - args: - [ - "-u", - "{{ .Env.GPG_FINGERPRINT }}", - "--output", - "${signature}", - "--detach-sign", - "${artifact}", - ] + args: ["-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"] brews: - name: stackit @@ -104,7 +93,7 @@ brews: snapcrafts: # IDs of the builds for which to create packages for - builds: - - linux-builds + - linux-builds # The name of the snap name: stackit # The canonical title of the application, displayed in the software @@ -113,7 +102,7 @@ snapcrafts: summary: A command-line interface to manage STACKIT resources. description: "A command-line interface to manage STACKIT resources.\nThis CLI is in a BETA state. More services and functionality will be supported soon." license: Apache-2.0 - # Will only publish to `edge` and `beta` channels + # Will only publish to `edge` and `beta` channels grade: devel # Skip publishing until we get approval for used interfaces or classic confinement publish: false From ea5a52c463191e8356bd712c8fb628abfd262c9d Mon Sep 17 00:00:00 2001 From: vicentepinto98 Date: Mon, 11 Mar 2024 11:08:00 +0000 Subject: [PATCH 3/3] Add contents --- .goreleaser.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 8d9a10038..8097676f5 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -66,6 +66,9 @@ nfpms: maintainer: STACKIT description: A command-line interface to manage STACKIT resources. license: Apache 2.0 + contents: + - src: LICENSE.md + dst: LICENSE.md formats: - deb - rpm