From 2cdf849689503e353b83b74f62cf01d99c8bd79f Mon Sep 17 00:00:00 2001 From: Hirotaka Mizutani <52546+hirotaka@users.noreply.github.com> Date: Mon, 6 Oct 2025 20:37:39 +0900 Subject: [PATCH] Fix Homebrew formula to use HEAD and update docs - Switch from main branch archive to HEAD to avoid SHA256 mismatches - Update README with correct two-argument tap command - Remove invalid version string - Add note explaining repository naming --- Formula/try.rb | 4 +--- README.md | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Formula/try.rb b/Formula/try.rb index 074e95c..47af06e 100644 --- a/Formula/try.rb +++ b/Formula/try.rb @@ -1,9 +1,7 @@ class Try < Formula desc "Fresh directories for every vibe - lightweight experiments for people with ADHD" homepage "https://github.com/tobi/try" - url "https://github.com/tobi/try/archive/refs/heads/main.tar.gz" - sha256 "dd3753f38b5c35597c8c2528a19efd7e4289bbbe977d18e2e299a2a57b393a8e" - version "main" + head "https://github.com/tobi/try.git", branch: "main" depends_on "ruby" diff --git a/README.md b/README.md index fdccca5..fe2aa42 100644 --- a/README.md +++ b/README.md @@ -192,7 +192,7 @@ nix run github:tobi/try init ~/my-tries ### Quick start ```bash -brew tap tobi/try +brew tap tobi/try https://github.com/tobi/try brew install try ```