-
Notifications
You must be signed in to change notification settings - Fork 75
ci: Refactor automated release and publishing workflows with Release Please #1215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
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
|
I have added also a documentation, describing the current release process: #1217 |
|
Relates to googleapis/release-please#2452 |
2f4892d to
f3d82f1
Compare
|
@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:
|
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 <[email protected]>
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"