ci: Refactor automated release and publishing workflows with Release Please#1215
Merged
ci: Refactor automated release and publishing workflows with Release Please#1215
Conversation
Member
Author
|
GH Actions run: https://github.com/d3xter666/cli/actions/runs/19685910611/job/56391481303 Note: The ui5/cli publishing is expected to fail its shrinkwrap regeneration there as other packages were not actually published to NPM |
e3db8d5 to
b72512a
Compare
matz3
reviewed
Nov 26, 2025
Member
Author
|
I have added also a documentation, describing the current release process: #1217 |
Member
|
Relates to googleapis/release-please#2452 |
matz3
previously approved these changes
Nov 26, 2025
matz3
previously approved these changes
Nov 27, 2025
2f4892d to
f3d82f1
Compare
Member
Author
|
@matz3 , sorry I needed to revert back the git's user.name & user.email as the amend is from a different "user" and needs this in order to push. Now, the flow seems to be working correctly:
|
matz3
approved these changes
Nov 27, 2025
d3xter666
added a commit
that referenced
this pull request
Nov 28, 2025
JIRA: CPOUI5FOUNDATION-1166 Describes the release please workflow: #1215 Rendered document: https://github.com/UI5/cli/blob/31b5215547eeedef57bf5593d02e8fafd5a07d58/docs/Release-Workflow.md --------- Co-authored-by: Günter Klatt <57760635+KlattG@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
JIRA: CPOUI5FOUNDATION-1166
🔧 Technical Challenges & Solutions
1. Circular Peer Dependencies
Problem:
@ui5/projecthaspeerDependencyon@ui5/builder, while@ui5/builderhasdevDependencyon@ui5/project. Thenode-workspaceplugin detected this cycle:Solution:
node-workspaceplugin withupdatePeerDependencies: true@ui5/builderpeer dependency inpackages/project/package.jsonjqfor surgical JSON manipulation to update version range from^4.xto^5.x2. Package-Lock Corruption from npm Aliases
Problem: The
node-workspaceplugin corruptedpackage-lock.jsonby updating npm alias entries ininternal/documentation/package.json. This created inconsistent lockfile entries mixing workspace versions with registry URLs:Solution:
Implemented automated lockfile restoration that:
npm installto regenerate workspace lockfile entriesorigin/mainusingjq3. PR Title Version Extraction
Problem: Release Please's
${version}template doesn't work with grouped monorepo releases using thelinked-versionsplugin (no root package context).Solution:
${branch}in PR title pattern:"release: UI5 CLI packages ${branch}""release: UI5 CLI packages main"