Update gorelease config and docs - moving to cask due to depreciation

This commit is contained in:
2025-12-07 13:59:51 +00:00
parent 8672d932bb
commit 2a44c6ff9c
3 changed files with 18 additions and 14 deletions
+8 -9
View File
@@ -23,11 +23,11 @@ builds:
archives: archives:
- id: kportal - id: kportal
format: tar.gz formats: [tar.gz]
name_template: "kportal-{{ .Version }}-{{ .Os }}-{{ .Arch }}" name_template: "kportal-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
format_overrides: format_overrides:
- goos: windows - goos: windows
format: zip formats: [zip]
files: files:
- LICENSE - LICENSE
- README.md - README.md
@@ -53,17 +53,16 @@ release:
draft: false draft: false
prerelease: auto prerelease: auto
brews: homebrew_casks:
- repository: - repository:
owner: lukaszraczylo owner: lukaszraczylo
name: homebrew-taps name: homebrew-taps
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}" token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
directory: Formula directory: Casks
homepage: https://lukaszraczylo.github.io/kportal homepage: https://lukaszraczylo.github.io/kportal
description: "Modern Kubernetes port-forward manager with interactive TUI" description: "Modern Kubernetes port-forward manager with interactive TUI"
license: MIT license: MIT
test: | postflight: |
system "#{bin}/kportal", "--version" system_command "/usr/bin/xattr",
dependencies: args: ["-dr", "com.apple.quarantine", "#{staged_path}/kportal"],
- name: kubernetes-cli sudo: false
type: optional
+7 -2
View File
@@ -54,12 +54,17 @@ kportal manages multiple Kubernetes port-forwards with an interactive terminal i
## 📦 Installation ## 📦 Installation
### Homebrew (macOS/Linux) ### Homebrew (macOS)
```bash ```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 ### Quick Install
```bash ```bash
+3 -3
View File
@@ -556,11 +556,11 @@
<i class="fas fa-beer text-orange-500 dark:text-orange-400 text-2xl mr-3"></i> <i class="fas fa-beer text-orange-500 dark:text-orange-400 text-2xl mr-3"></i>
<div> <div>
<h3 class="text-xl font-semibold text-gray-900 dark:text-gray-100">Homebrew</h3> <h3 class="text-xl font-semibold text-gray-900 dark:text-gray-100">Homebrew</h3>
<p class="text-gray-600 dark:text-gray-400 text-sm">macOS & Linux</p> <p class="text-gray-600 dark:text-gray-400 text-sm">macOS</p>
</div> </div>
</div> </div>
<div onclick="copyToClipboard('brew install lukaszraczylo/taps/kportal', this)" class="relative bg-gradient-to-br from-gray-900 to-gray-800 dark:from-gray-950 dark:to-black text-gray-100 p-4 rounded-lg text-sm cursor-pointer group overflow-x-auto border border-gray-700 hover:border-orange-500 transition-all duration-300"> <div onclick="copyToClipboard('brew install --cask lukaszraczylo/taps/kportal', this)" class="relative bg-gradient-to-br from-gray-900 to-gray-800 dark:from-gray-950 dark:to-black text-gray-100 p-4 rounded-lg text-sm cursor-pointer group overflow-x-auto border border-gray-700 hover:border-orange-500 transition-all duration-300">
<code class="block whitespace-nowrap font-mono">brew install lukaszraczylo/taps/kportal</code> <code class="block whitespace-nowrap font-mono">brew install --cask lukaszraczylo/taps/kportal</code>
<div class="absolute top-3 right-3"><i class="fas fa-copy text-gray-500 group-hover:text-orange-400 transition-colors duration-300"></i></div> <div class="absolute top-3 right-3"><i class="fas fa-copy text-gray-500 group-hover:text-orange-400 transition-colors duration-300"></i></div>
</div> </div>
</div> </div>