diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5faccd9..690a4d6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -109,7 +109,7 @@ jobs: echo "## Flora Agent ${VERSION}" echo if [ "$PRERELEASE" = "true" ]; then - echo "> This is a pre-release for testing. It does not update the Homebrew installation channel." + echo "> This is a pre-release for testing." else echo "> This is a stable release." fi @@ -151,7 +151,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} update-homebrew: - if: needs.prepare.outputs.prerelease != 'true' needs: [prepare, release] runs-on: ubuntu-latest steps: diff --git a/docs/releasing.md b/docs/releasing.md index 5224e97..4de11f2 100644 --- a/docs/releasing.md +++ b/docs/releasing.md @@ -23,7 +23,8 @@ The workflow injects the release version, commit SHA, and UTC build date into ## Package repository synchronization -Stable releases update this public repository after a successful release: +Every release, including pre-releases, updates this public repository after a +successful release: - Homebrew Formula: `flora-suite/homebrew-flora`, `Formula/flora-agent.rb` @@ -38,9 +39,6 @@ If the secret is absent, the GitHub Release still succeeds and the package repository update is deliberately skipped. The next tag release will synchronize it once the secret is configured. -Pre-releases never update Homebrew, ensuring preview builds cannot -replace the stable installation channels. - The updater scripts can also be run locally after a release exists: ```bash diff --git a/scripts/update-homebrew-formula.sh b/scripts/update-homebrew-formula.sh index c2ff094..9e73c02 100755 --- a/scripts/update-homebrew-formula.sh +++ b/scripts/update-homebrew-formula.sh @@ -35,7 +35,6 @@ cat > "$tap_dir/Formula/flora-agent.rb" <