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:
1717jobs :
1818 goreleaser :
1919 runs-on : ubuntu-latest
20+ env :
21+ SNAPCRAFT_STORE_CREDENTIALS : ${{ secrets.SNAPCRAFT_TOKEN }}
2022 steps :
2123 - uses : actions/checkout@v4
2224 with :
@@ -32,10 +34,12 @@ jobs:
3234 with :
3335 gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY }}
3436 passphrase : ${{ secrets.GPG_PASSPHRASE }}
37+ - name : Install Snapcraft
38+ uses : samuelmeuli/action-snapcraft@v2
3539 - name : Run GoReleaser
3640 uses : goreleaser/goreleaser-action@v5
3741 with :
3842 args : release --clean
3943 env :
4044 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:
7878 # If set to auto, the release will not be uploaded to the homebrew tap repo
7979 # if the tag has a prerelease indicator (e.g. v0.0.1-alpha1)
8080 # 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