hyperledger / besu

An enterprise-grade Java-based, Apache 2.0 licensed Ethereum client https://wiki.hyperledger.org/display/besu

Home Page:https://www.hyperledger.org/projects/besu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

automate creation of homebrew release

macfarla opened this issue · comments

homebrew release gets created after besu release artifact is available. Think some more parts of this can be automated - maybe GHA

homebrew repo -
https://github.com/hyperledger/homebrew-besu

instructions for how to create the release -
git checkout the homebrew-besu repo
git checkout branch 24.5.2
sh updateBesu <24.5.2>

^ this updates besu.rb file
create a PR with this update
git add besu.rb
git commit
git push

It is possible to add a GitHub workflow to commit the changes but bypassing the DCO is the challenge. I could configure bot user and email address for the commit. What would be the Hyperledger requirement using a bot commit.

In order to fully automate the Homebrew release triggered at the end of the Besu release, it requires a GitHub app in Hyperledger GitHub org with permission to create PR. Not sure whether is it feasible to request a GitHub app with permission to enable this automation.

Will create a GitHub workflow which can trigger on-demand, that would create a new branch and update the version. Release manager be able to run the job to create the branch. Creating PR from GITHUB_TOKEN is not possible so user need to create the PR from the branch.