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
17 changes: 9 additions & 8 deletions docs/RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,15 @@ crates are `publish = false`). There is no separate `VERSION` file.
your authenticated identity + the public Rekor log — real provenance for
the prebuilt binary. Consumer-side verification is in "Verify both install
paths".
8. **Formula url + sha256:** bump the `url` line in
`packaging/homebrew/rmlx.rb` to the new `v<version>` tag tarball, **then**
`make release-sha` (or `bash scripts/release/source_sha256.sh --write`) for
the sha256.
> ⚠️ `source_sha256.sh --write` patches **only the sha256, not the `url`
> version**. If you skip the manual url bump, the formula carries the new
> sha against the old tag's url and `brew install` fails with a sha
> mismatch. Always edit the `url` line yourself.
8. **Formula url + sha256:** run `make release-sha` (or
`bash scripts/release/source_sha256.sh --write`) — it patches **both** the
`url` line in `packaging/homebrew/rmlx.rb` to the new `v<version>` tag
tarball **and** the `sha256`.
> GitHub generates the source archive on first access, so its sha256 can
> shift on the very first fetch right after a tag push. The
> `source_sha256.sh`-written value is usually the correct stable one — but
> re-fetch the archive 2-3× (`curl -fsSL .../archive/refs/tags/v<version>.tar.gz
> | shasum -a 256`) and confirm the digest is stable before trusting it.
Commit the formula bump via a PR (`main` is ruleset-protected; see below).
9. **Publish the tap:** `make tap-sync` (copies the formula into
`Pushkinist/homebrew-rmlx` as `Formula/rmlx.rb` and pushes).
Expand Down
4 changes: 2 additions & 2 deletions packaging/homebrew/rmlx.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
class Rmlx < Formula
desc "Rust-native, single-binary MLX inference + conversion backend for Apple Silicon"
homepage "https://github.com/Pushkinist/rMLX"
url "https://github.com/Pushkinist/rMLX/archive/refs/tags/v0.2.2.tar.gz"
sha256 "cd7a6ee2b0d341476296a6bf9789b23c766921de1ebeac5bec1156415fa5e8c0"
url "https://github.com/Pushkinist/rMLX/archive/refs/tags/v0.2.3.tar.gz"
sha256 "abc416caae237fc384d5c0712519641707610461375bf7737a6f7a848a1cbf29"
license any_of: ["MIT", "Apache-2.0"]
head "https://github.com/Pushkinist/rMLX.git", branch: "main"

Expand Down
Loading