-
Notifications
You must be signed in to change notification settings - Fork 0
release process
Francesco Montorsi edited this page Nov 13, 2024
·
4 revisions
When adding new features or doing bugfixes, make sure to commit in the "beta" branch. The beta branch should have its config.yaml file configured with:
version: beta
slug: dnsmasq-dhcp-beta
name: Dnsmasq-DHCP BETA
Once the new developments are ready, open a PR to merge the beta
branch in the main
branch.
Once merged, fix the main
branch config.yaml to look like:
version: 1.5.2
slug: dnsmasq-dhcp
name: Dnsmasq-DHCP
When the main
branch is ready to be released, follow these steps in order:
- Bump the version in config.yaml
- In Github go to "Releases" and create a new one. The git tag should match exactly the new version bumped in config.yaml. The github pipeline will fail if they don't match.
- Make sure you have git-cloned the ha-addons-repo
- Cd into the
ha-addons-repo
and run itsbump.sh
script, which will create 1 commit. Push it. - In HomeAssistant UI, go to the "Settings->Addons" page and hit the refresh icon. The new release should be visible in the "stable" channel of the "Dnsmasq-DHCP" addon.