mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
Drops `alpha` / `beta` / `rc` as accepted pre-release labels in bin/dev/release.sh. `nightly` is now the only pre-release descriptor, in preparation for automated nightly tags. Renames the Homebrew tap formula from `fabro-beta` to `fabro-nightly`: - installer/fabro-beta.rb.template -> installer/fabro-nightly.rb.template (class renamed FabroBeta -> FabroNightly, desc updated). - `update-homebrew-beta` job in release.yml is now `update-homebrew-nightly` with matching file paths and commit message. Breaking for existing `brew install fabro-sh/tap/fabro-beta` users: the old formula file stays in the tap for now (removed in a follow-up once fabro-nightly is populated) and stops receiving updates. Users should switch to `brew install fabro-sh/tap/fabro-nightly` once the new formula is published by the next pre-release tag. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
34 lines
968 B
Text
34 lines
968 B
Text
class FabroNightly < Formula
|
|
desc "Unified CLI for the Fabro AI framework (nightly channel)"
|
|
homepage "https://fabro.sh"
|
|
license "MIT"
|
|
version "{{VERSION}}"
|
|
|
|
conflicts_with "fabro", because: "both install the fabro binary"
|
|
|
|
if OS.mac?
|
|
if Hardware::CPU.arm?
|
|
url "https://github.com/fabro-sh/fabro/releases/download/v{{VERSION}}/fabro-aarch64-apple-darwin.tar.gz"
|
|
sha256 "{{SHA_AARCH64_DARWIN}}"
|
|
end
|
|
end
|
|
|
|
if OS.linux?
|
|
if Hardware::CPU.intel?
|
|
url "https://github.com/fabro-sh/fabro/releases/download/v{{VERSION}}/fabro-x86_64-unknown-linux-gnu.tar.gz"
|
|
sha256 "{{SHA_X86_64_LINUX}}"
|
|
end
|
|
if Hardware::CPU.arm?
|
|
url "https://github.com/fabro-sh/fabro/releases/download/v{{VERSION}}/fabro-aarch64-unknown-linux-gnu.tar.gz"
|
|
sha256 "{{SHA_AARCH64_LINUX}}"
|
|
end
|
|
end
|
|
|
|
def install
|
|
bin.install "fabro"
|
|
end
|
|
|
|
test do
|
|
assert_match version.to_s, shell_output("#{bin}/fabro --version")
|
|
end
|
|
end
|