2 Commits

Author SHA1 Message Date
451fbe1640 feat: switch homebrew distribution from cask to formula
All checks were successful
Release / release (push) Successful in 1m39s
Replace homebrew_casks with brews in goreleaser config to use
a standard Formula instead of a Cask, avoiding macOS quarantine.
2026-03-24 10:33:49 +01:00
254e09a724 feat: correct readme
All checks were successful
Release / release (push) Successful in 1m43s
Signed-off-by: kjuulh <contact@kjuulh.io>
2026-03-20 18:00:12 +01:00
2 changed files with 23 additions and 8 deletions

View File

@@ -46,15 +46,15 @@ release:
name_template: "v{{ .Version }}" name_template: "v{{ .Version }}"
mode: keep-existing mode: keep-existing
homebrew_casks: brews:
- name: gitnow - name: gitnow
binaries:
- gitnow
repository: repository:
owner: kjuulh owner: kjuulh
name: homebrew-tap name: homebrew-tap
token: "{{ .Env.RELEASE_TOKEN }}" token: "{{ .Env.RELEASE_TOKEN }}"
url: directory: Formula
template: "https://git.kjuulh.io/kjuulh/gitnow/releases/download/{{ .Tag }}/{{ .ArtifactName }}" url_template: "https://git.kjuulh.io/kjuulh/gitnow/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
homepage: "https://gitnow-client.prod.kjuulh.app" homepage: "https://gitnow-client.prod.kjuulh.app"
description: "Git Now is a utility for easily navigating git projects from common upstream providers." description: "Git Now is a utility for easily navigating git projects from common upstream providers."
install: |
bin.install "gitnow"

View File

@@ -8,15 +8,30 @@ Git Now is a utility for easily navigating git projects from common upstream pro
## Installation ## Installation
```bash ### Homebrew
cargo (b)install gitnow
```bash
brew tap kjuulh/tap https://git.kjuulh.io/kjuulh/homebrew-tap
brew install gitnow
```
### Cargo
```bash
cargo install gitnow
# or
cargo binstall gitnow
```
### Setup
```bash
# You can either use gitnow directly (and use spawned shell sessions) # You can either use gitnow directly (and use spawned shell sessions)
gitnow gitnow
# Or install gitnow scripts (in your .bashrc, .zshrc) this will use native shell commands to move you around # Or install gitnow scripts (in your .bashrc, .zshrc) this will use native shell commands to move you around
eval $(gitnow init zsh) eval $(gitnow init zsh)
git-now # Long git-now # Long
gn # Short alias gn # Short alias
``` ```