Skip to content

release process

Francesco Montorsi edited this page Nov 13, 2024 · 4 revisions

New Developments

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

New Release

When the main branch is ready to be released, follow these steps in order:

  1. Bump the version in config.yaml
  2. 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.
  3. Make sure you have git-cloned the ha-addons-repo
  4. Cd into the ha-addons-repo and run its bump.sh script, which will create 1 commit. Push it.
  5. 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.
Clone this wiki locally