Prompt file imported from Antonio112009/ha-ledvance-lights (
.github/prompts/release.prompt.md). Copyright stays with the author.
Release this project:
Normal path (automated)
- Ensure everything to release is merged into
development. - Find the auto-created PR
development→main(opened by the "Auto PR to main" workflow on every push todevelopment). If it does not exist, check that theRELEASE_TOKENsecret is configured and re-run the workflow. - Verify the PR carries the intended release label (
major,minor,patch, orno-release) — adjust if needed. - Merge the PR. The Release workflow bumps the version on
main, tagsvX.Y.Z, publishes the GitHub release, and syncsmainback intodevelopment. Report the release URL to the user.
Emergency fallback (Actions unavailable)
- Read the current version from
custom_components/ha_ledvance_lights/manifest.json("version"field). - Ensure the working tree is clean (
git status --porcelainreturns empty). If not, stop and tell the user. - Bump the version manually per the version-bump skill (all three version files), commit.
- Create an annotated git tag
v{VERSION}pointing at HEAD and push it:git push origin v{VERSION}. - Create a GitHub release via
gh release create v{VERSION} --title "v{VERSION}" --generate-notes. - Report the release URL to the user.