mygithub.libinneed.workers.dev/stackitcloud/stackit-cli
Advanced tools
@@ -5,3 +5,3 @@ # STACKIT CLI release workflow. | ||
| # This GitHub action creates a release when a tag that matches one of the patterns below | ||
| # E.g. v0.1.0, v0.1.0-something.1, etc | ||
| # E.g. v0.1.0, v0.1.0-something.1, etc | ||
| on: | ||
@@ -73,4 +73,3 @@ push: | ||
| - name: Publish packages to APT repo | ||
| # Temporarily not skipping prereleases to test integration with APT | ||
| # if: contains(github.ref_name, '-') == false | ||
| if: contains(github.ref_name, '-') == false | ||
| env: | ||
@@ -77,0 +76,0 @@ GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} |
+18
-9
@@ -19,3 +19,3 @@ before: | ||
| binary: "stackit" | ||
| - id: macos-builds | ||
@@ -25,3 +25,3 @@ env: | ||
| - BUNDLE_ID=cloud.stackit.cli | ||
| - 'APPLE_APPLICATION_IDENTITY=Developer ID Application: Schwarz IT KG' | ||
| - "APPLE_APPLICATION_IDENTITY=Developer ID Application: Schwarz IT KG" | ||
| goos: | ||
@@ -85,3 +85,11 @@ - darwin | ||
| - artifacts: package | ||
| args: ["-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"] | ||
| args: | ||
| [ | ||
| "-u", | ||
| "{{ .Env.GPG_FINGERPRINT }}", | ||
| "--output", | ||
| "${signature}", | ||
| "--detach-sign", | ||
| "${artifact}", | ||
| ] | ||
@@ -102,4 +110,3 @@ brews: | ||
| # if the tag has a prerelease indicator (e.g. v0.0.1-alpha1) | ||
| # Temporarily not skipping prereleases to test integration with Homebrew | ||
| # skip_upload: auto | ||
| skip_upload: auto | ||
@@ -109,3 +116,3 @@ snapcrafts: | ||
| - builds: | ||
| - linux-builds | ||
| - linux-builds | ||
| # The name of the snap | ||
@@ -119,5 +126,7 @@ name: stackit | ||
| license: Apache-2.0 | ||
| # Will only publish to `edge` and `beta` channels | ||
| confinement: classic | ||
| # Grade "devel" will only release to `edge` and `beta` channels | ||
| # Grade "stable" will also release to the `candidate` and `stable` channels | ||
| grade: devel | ||
| # Skip publishing until we get approval for used interfaces or classic confinement | ||
| publish: false | ||
| # Whether to publish the Snap to the store | ||
| publish: true |