Skip to content

chore: drop the unused Create Release workflow and correct the release baseline - #84

Merged
g4bri3lDev merged 1 commit into
feat/clean-portfrom
chore/release-docs
Jul 27, 2026
Merged

chore: drop the unused Create Release workflow and correct the release baseline#84
g4bri3lDev merged 1 commit into
feat/clean-portfrom
chore/release-docs

Conversation

@g4bri3lDev

Copy link
Copy Markdown
Member

Two small changes, both about how releases actually get cut here.

Remove .github/workflows/release.yml

It was added three weeks before release-please and has never run — not once. It could not have: it writes to custom_components/open_display/manifest.json, an underscored path that does not exist, so the bump step fails immediately.

Two further faults, had it ever been used:

  • the version regex (-[a-zA-Z0-9]+)?$ allows no dot in the prerelease part, so it rejects 3.0.0-beta.9 — the form every pre-release here uses
  • gh release create is called without --prerelease, so a beta would publish as stable and HACS would offer it to every user, not only those opted in to betas

Releases on main come from release-please; pre-releases are cut by hand from the dev branch. Nothing uses this workflow, so it is removed rather than repaired.

Correct the release-please baseline

.release-please-manifest.json recorded 2.0.2 — accurate as the last version release-please itself released, but the project has since published up to 3.0.0-beta.9 through the manual pre-release path, which release-please never sees.

Left stale, the first release after this branch merges to main anchors at 2.0.2 and proposes a bump from there — potentially a version below what users already have. Set to 3.0.0-beta.9 so the next release starts from reality.

For the 3.0.0 stable cut, a Release-As: 3.0.0 footer on a commit to main removes any ambiguity about graduating from the beta series.

Tags are deliberately left alone

The two tag styles are not a mistake. release-please's own releases (2.0.0, 2.0.1, 2.0.2) are bare because include-v-in-tag is false; the hand-cut betas (v3.0.0-beta.1v3.0.0-beta.9) carry the v. Each series is internally consistent, so no config change here.

uv run pytest — 94 passed.

…e baseline

The Create Release workflow was added three weeks before release-please
and has never run once. It could not have: it writes to
custom_components/open_display/manifest.json, an underscored path that
does not exist, so its bump step fails immediately. Two further faults
had it ever been used — its version regex allows no dot in the
prerelease part, rejecting the beta.N form every pre-release uses, and
it calls `gh release create` without --prerelease, which would publish a
beta as stable and push it to every HACS user rather than only those
opted in to betas.

Releases on main are cut by release-please, and pre-releases are cut by
hand from the dev branch. Neither uses this workflow, so it is removed
rather than repaired.

Also corrects the release-please baseline. It recorded 2.0.2, the last
version release-please itself released, while the project has since
published 3.0.0-beta.9 through the manual pre-release path that
release-please never sees. Left stale, the first release after the dev
branch merges anchors to 2.0.2 and can propose a version below what
users already have.

Tags are untouched: release-please's own releases are bare per
include-v-in-tag, and the hand-cut betas keep their v prefix. The two
series are each internally consistent.
@g4bri3lDev
g4bri3lDev merged commit af60fc2 into feat/clean-port Jul 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant