From 2d8d72717d3436e1add52b286fc69ab9bbe1dc9b Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Fri, 17 Apr 2026 11:39:19 -0400 Subject: [PATCH] refactor(release): simplify pre-release channel to nightly only 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) --- .github/workflows/release.yml | 14 +++++++------- bin/dev/release.sh | 6 +++--- ...-beta.rb.template => fabro-nightly.rb.template} | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) rename installer/{fabro-beta.rb.template => fabro-nightly.rb.template} (90%) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f0de1d99f..e19411b33 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -146,8 +146,8 @@ jobs: git add Formula/fabro.rb git diff --cached --quiet || (git commit -m "Update fabro to ${TAG_NAME}" && git push) - update-homebrew-beta: - name: Update Homebrew Beta Formula + update-homebrew-nightly: + name: Update Homebrew Nightly Formula needs: release if: ${{ contains(github.ref_name, '-') }} runs-on: ubuntu-latest @@ -165,7 +165,7 @@ jobs: pattern: artifacts-fabro-* merge-multiple: true - - name: Generate and push beta formula + - name: Generate and push nightly formula env: GH_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }} TAG_NAME: ${{ github.ref_name }} @@ -181,12 +181,12 @@ jobs: -e "s/{{SHA_AARCH64_DARWIN}}/$SHA_AARCH64_DARWIN/g" \ -e "s/{{SHA_X86_64_LINUX}}/$SHA_X86_64_LINUX/g" \ -e "s/{{SHA_AARCH64_LINUX}}/$SHA_AARCH64_LINUX/g" \ - installer/fabro-beta.rb.template > fabro-beta.rb + installer/fabro-nightly.rb.template > fabro-nightly.rb git clone https://x-access-token:${GH_TOKEN}@github.com/fabro-sh/homebrew-tap.git tap - cp fabro-beta.rb tap/Formula/fabro-beta.rb + cp fabro-nightly.rb tap/Formula/fabro-nightly.rb cd tap git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" - git add Formula/fabro-beta.rb - git diff --cached --quiet || (git commit -m "Update fabro-beta to ${TAG_NAME}" && git push) + git add Formula/fabro-nightly.rb + git diff --cached --quiet || (git commit -m "Update fabro-nightly to ${TAG_NAME}" && git push) diff --git a/bin/dev/release.sh b/bin/dev/release.sh index 3ffa0abf8..86de33ec7 100755 --- a/bin/dev/release.sh +++ b/bin/dev/release.sh @@ -34,9 +34,9 @@ next_base_version() { validate_prerelease_label() { local label="$1" case "$label" in - alpha|beta|rc) ;; + nightly) ;; *) - die "invalid pre-release label: $label (expected one of: alpha, beta, rc)" + die "invalid pre-release label: $label (expected: nightly)" ;; esac } @@ -73,7 +73,7 @@ parse_args() { ;; --help|-h) cat <<'EOF' -Usage: bin/dev/release.sh [alpha|beta|rc] [--dry-run] [--skip-tests] +Usage: bin/dev/release.sh [nightly] [--dry-run] [--skip-tests] Create the next stable release from main, or compute a prerelease tag. diff --git a/installer/fabro-beta.rb.template b/installer/fabro-nightly.rb.template similarity index 90% rename from installer/fabro-beta.rb.template rename to installer/fabro-nightly.rb.template index f88a124a5..f37c3d1e0 100644 --- a/installer/fabro-beta.rb.template +++ b/installer/fabro-nightly.rb.template @@ -1,5 +1,5 @@ -class FabroBeta < Formula - desc "Unified CLI for the Fabro AI framework (pre-release channel)" +class FabroNightly < Formula + desc "Unified CLI for the Fabro AI framework (nightly channel)" homepage "https://fabro.sh" license "MIT" version "{{VERSION}}"