-
Select a tip commit for the release to point to
-
Edit the
Cargo.tomland bump the version number there -
Run cargo build to ensure everything builds (this should modify
Cargo.locktoo automatically). -
Commit the changes to
Cargo.tomlandCargo.lock. -
Create a git tag with the same version number as in
Cargo.tomlvia a command:git tag vx.x.x -
Push the newly-created tag:
git push origin vx.x.x -
Wait for the GitHub Actions to complete. It should create a new release at https://github.com/radicle-dev/radicle-cli/releases/
-
Go to the latest release under https://github.com/radicle-dev/radicle-cli/releases/ and download
radicle-cli-x86_64-apple-darwin.tar.gzfrom there. -
Compute sha256 of that
radicle-cli-x86_64-apple-darwin.tar.gzfile -
Create a patch to the Homebrew formula at https://seed.alt-clients.radicle.xyz/radicle-cli-homebrew.git/ that updates the version number and sha256 hash. An example patch looks like that:
diff --git i/Formula/radicle-cli.rb w/Formula/radicle-cli.rb index 1907279..23eb7cf 100644 --- i/Formula/radicle-cli.rb +++ w/Formula/radicle-cli.rb @@ -1,10 +1,10 @@ class RadicleCli < Formula - version "0.6.0" + version "0.6.1" desc "Radicle CLI" homepage "https://app.radicle.network/alt-clients.radicle.eth/radicle-cli" url "https://github.com/radicle-dev/radicle-cli/releases/download/v#{version}/radicle-cli-x86_64-apple-darwin.tar.gz" - sha256 "6f0afb72a8630e3e7f331f1e74c80ba64d7918320d9234aff8acadd79ab68459" + sha256 "8a35472cd57737c38295b3db50ddc84c0e17016eaa12eecfdf56d0214438db41" depends_on "git" -
Merge the patch to master
-
Test the Homebrew Formula by doing:
brew update && brew upgrade radicle-cli
Last active
August 12, 2022 10:15
-
-
Save adaszko/b3eb5c72d921a26d28c2a13baf5fb768 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment