Skip to content

Commit

Permalink
feat: add brew install support
Browse files Browse the repository at this point in the history
  • Loading branch information
howieyuen committed Jan 3, 2023
1 parent 8fd2757 commit 191cc08
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,12 @@ jobs:
## Dependent version
* [kclvm-go](https://github.com/KusionStack/kclvm-go): `${{ steps.get_version.outputs.kclvmgo_version }}`
* [kcl-plugin](https://github.com/KusionStack/kcl-plugin): `${{ steps.get_version.outputs.kclplugin_version }}`
# <--- End --->
# <--- End --->
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.KUSIONSTACK_BOT_TOKEN }}
6 changes: 3 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ builds:
# ignore:
# - goos: windows
# goarch: arm64
main: ./cmd/kusionctl
main: .
archives:
- replacements:
darwin: Darwin
Expand Down Expand Up @@ -101,8 +101,8 @@ brews:

folder: HomebrewFormula
homepage: "https://github.com/KusionStack/kusion"
description: ""
description: "Codify and deliver intentions to Kubernetes and Clouds"
license: "Apache License"
skip_upload: false
test: |
system "#{bin}/kusion -V"
system "#{bin}/kusion version"

0 comments on commit 191cc08

Please sign in to comment.