This guide describes the creation of a rapiddweller-benerator-ce release.
Note this uses 5.6.7
as an example release number.
- Create a draft release
- Use format
5.6.7
for both the tag and title
- Update CHANGELOG.md
- Write the release highlights
- Copy in headings ready for the next release
- Create release commit
git checkout -b release-5.6.7
- Create merge request getting other maintainers to review
- Copy the release notes in to the draft release, adding a link to CHANGELOG.md
- Update you local master branch
git checkout master
git pull
- Create & push the tag
git tag 5.6.7
git push --tags
- The GitHub pipeline creates the release artifacts
-
Fork the Homebrew/homebrew-core to your personal Github account.
-
Tap (download a local clone of) the repository of core Homebrew formulae:
brew tap --force homebrew/core
- Change to the directory containing Homebrew formulae:
cd "$(brew --repository homebrew/core)"
- Add your pushable forked repository as a new remote:
git remote add <YOUR_USERNAME> https://github.com/<YOUR_USERNAME>/homebrew-core.git
<YOUR_USERNAME>
is your GitHub username, not your local machine username.
- Update brew formula with the automation command
bump-formula-pr
:
brew bump-formula-pr \
--url="https://github.com/rapiddweller/rapiddweller-benerator-ce/releases/download/5.6.7/rapiddweller-benerator-ce-5.6.7-jdk-11-dist.tar.gz" \
--sha256="PASTE THE SHA256 CHECKSUM HERE" \
benerator
Note the url
need to point to correct asset, version from our github release.
This will create a pull request into the Homebrew core repository. Once the Homebrew maintainers team approve it will be merged.
See Homebrew's Documentation for more detail.