diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 9f7b02b..d7d4b26 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -23,11 +23,11 @@ builds: archives: - id: kportal - format: tar.gz + formats: [tar.gz] name_template: "kportal-{{ .Version }}-{{ .Os }}-{{ .Arch }}" format_overrides: - goos: windows - format: zip + formats: [zip] files: - LICENSE - README.md @@ -53,17 +53,16 @@ release: draft: false prerelease: auto -brews: +homebrew_casks: - repository: owner: lukaszraczylo name: homebrew-taps token: "{{ .Env.HOMEBREW_TAP_TOKEN }}" - directory: Formula + directory: Casks homepage: https://lukaszraczylo.github.io/kportal description: "Modern Kubernetes port-forward manager with interactive TUI" license: MIT - test: | - system "#{bin}/kportal", "--version" - dependencies: - - name: kubernetes-cli - type: optional + postflight: | + system_command "/usr/bin/xattr", + args: ["-dr", "com.apple.quarantine", "#{staged_path}/kportal"], + sudo: false diff --git a/README.md b/README.md index 42a18c8..c59405a 100644 --- a/README.md +++ b/README.md @@ -54,12 +54,17 @@ kportal manages multiple Kubernetes port-forwards with an interactive terminal i ## 📦 Installation -### Homebrew (macOS/Linux) +### Homebrew (macOS) ```bash -brew install lukaszraczylo/taps/kportal +brew install --cask lukaszraczylo/taps/kportal ``` +> **Note**: If you previously installed via `brew install lukaszraczylo/taps/kportal` (formula), uninstall first: +> ```bash +> brew uninstall kportal +> ``` + ### Quick Install ```bash diff --git a/docs/index.html b/docs/index.html index 0db7c67..d00e39a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -556,11 +556,11 @@
macOS & Linux
+macOS
brew install lukaszraczylo/taps/kportal
+ brew install --cask lukaszraczylo/taps/kportal