File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ permissions:
17
17
jobs :
18
18
goreleaser :
19
19
runs-on : ubuntu-latest
20
+ env :
21
+ SNAPCRAFT_STORE_CREDENTIALS : ${{ secrets.SNAPCRAFT_TOKEN }}
20
22
steps :
21
23
- uses : actions/checkout@v4
22
24
with :
@@ -32,10 +34,12 @@ jobs:
32
34
with :
33
35
gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY }}
34
36
passphrase : ${{ secrets.GPG_PASSPHRASE }}
37
+ - name : Install Snapcraft
38
+ uses : samuelmeuli/action-snapcraft@v2
35
39
- name : Run GoReleaser
36
40
uses : goreleaser/goreleaser-action@v5
37
41
with :
38
42
args : release --clean
39
43
env :
40
44
GITHUB_TOKEN : ${{ secrets.CLI_RELEASE }}
41
- GPG_FINGERPRINT : ${{ steps.import_gpg.outputs.fingerprint }}
45
+ GPG_FINGERPRINT : ${{ steps.import_gpg.outputs.fingerprint }}
Original file line number Diff line number Diff line change @@ -78,4 +78,19 @@ brews:
78
78
# If set to auto, the release will not be uploaded to the homebrew tap repo
79
79
# if the tag has a prerelease indicator (e.g. v0.0.1-alpha1)
80
80
# Not setting it for now so we can publish prerelease tags
81
- # skip_upload: auto
81
+ # skip_upload: auto
82
+
83
+ snapcrafts :
84
+ # IDs of the builds for which to create packages for
85
+ builds :
86
+ - linux-builds
87
+ # The name of the snap
88
+ name : stackit-cli
89
+ # The canonical title of the application, displayed in the software
90
+ # centre graphical frontends
91
+ title : STACKIT CLI
92
+ publish : true
93
+ summary : A command-line interface to manage STACKIT resources.
94
+ description : " A command-line interface to manage STACKIT resources.
95
+ This CLI is in a BETA state. More services and functionality will be supported soon."
96
+ license : Apache-2.0
You can’t perform that action at this time.
0 commit comments