Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
6 changes: 2 additions & 4 deletions docs/releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand All @@ -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
Expand Down
1 change: 0 additions & 1 deletion scripts/update-homebrew-formula.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ cat > "$tap_dir/Formula/flora-agent.rb" <<EOF
class FloraAgent < Formula
desc "Edge agent for syncing ROS recording files to Flora"
homepage "https://github.com/$repository"
version "$version"
license "MIT"

on_macos do
Expand Down
Loading