Skip to content

ci: migrate release automation from semantic-release to release-please - #391

Merged
kgogov merged 9 commits into
masterfrom
feat/release-please-migration
Sep 25, 2026
Merged

kgogov merged 9 commits into
masterfrom
feat/release-please-migration

Conversation

@kgogov

@kgogov kgogov commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

What & why

Replaces the semantic-release pipeline (broken since Aug — @semantic-release/git pushes the version bump straight to protected master → GH006) with release-please, which opens a Release PR instead of pushing. No GitHub App, PAT, or bypass actor — the default GITHUB_TOKEN is enough.

Changes

  • Add release-please-config.json + .release-please-manifest.json (seed 1.10.0)
  • Rewrite release.yml: release-please-action@v5 on push to master; on Release-PR merge, build grunt dist + gh release upload, gated on release_created
  • Remove semantic-release toolchain (.releaserc.json, scripts/update-version.js, 7 devDeps)
  • bootstrap-sha anchors adoption to the 1.10.0 release → first PR is 1.11.0, not a full-history 2.0.0
  • include-component-in-tag: false keeps plain vX.Y.Z tags (matches history) + correct asset name
  • Bump ci.yml/release.yml actions to @v7, pin node 24
  • Add pr-title-lint.yml — enforces Conventional Commits on PR titles, so squash-merge commit subjects stay parseable by release-please and land in the changelog

Validation

  • release-please --dry-run → clean 1.11.0 + changelog
  • Full end-to-end fork rehearsal: Release PR → merge → tag v1.11.0 + asset ui5inspector-v1.11.0.zip uploaded ✓
  • PR-title check fork-tested: non-conventional titles fail, conventional titles pass ✓

@kgogov kgogov changed the title Feat/release please migration ci: migrate release automation from semantic-release to release-please Sep 24, 2026
@kgogov
kgogov marked this pull request as ready for review September 24, 2026 14:03
@kgogov
kgogov force-pushed the feat/release-please-migration branch from d9fcc4f to 8d727ef Compare September 25, 2026 07:51
Comment thread .github/workflows/pr-title-lint.yml

@PetyaMarkovaBogdanova PetyaMarkovaBogdanova left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Residual risk

The old workflow ran grunt test immediately before release; the new workflow only builds and uploads. This is acceptable if CI status checks are required on the Release PR, but the release workflow itself no longer enforces tests.

@kgogov
kgogov merged commit b568249 into master Sep 25, 2026
2 checks passed
@kgogov
kgogov deleted the feat/release-please-migration branch September 25, 2026 12:26
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.

3 participants