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}}"