Add CLI for monorepo releases#8308
Merged
tkajtoch merged 11 commits intoelastic:eui-theme/borealisfrom Feb 28, 2025
Merged
Conversation
77a23ff to
f9fbb27
Compare
mgadewoll
reviewed
Feb 24, 2025
mgadewoll
reviewed
Feb 27, 2025
…pological workspace tree calculation
…paces in topological order
mgadewoll
reviewed
Feb 27, 2025
|
Preview staging links for this PR:
|
Collaborator
💚 Build Succeeded
History
cc @tkajtoch |
mgadewoll
approved these changes
Feb 28, 2025
Contributor
mgadewoll
left a comment
There was a problem hiding this comment.
🚢 🐈⬛ The changes look good to me and testing the releases locally worked as expected 🎉
mgadewoll
added a commit
to mgadewoll/eui
that referenced
this pull request
Mar 5, 2025
- updates the docs according to the new release process after merging elastic#8308
1 task
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.
Resolves https://github.com/elastic/eui-private/issues/136.
Summary
This PR adds a new release CLI for EUI monorepo. It reuses changelog calculation and versioning logic from the old release script and comes with a bunch more safety checks as well as monorepo workspaces awareness.
QA
gh pr checkout 8308yarn workspace @elastic/eui-release-cli run buildnpm logoutand double check withnpm whoamidocker run -it --rm --name verdaccio -p 4873:4873 verdaccio/verdaccio.yarnrc.ymlyarn npm loginLogging in to http://localhost:4873test/test)yarn npm whoamipackages/eui/changelogs/upcomingandpackages/eslint-plugin/changelogs/upcomingand commit them (temporarily so that the release script can proceed with its init checks)yarn release run snapshot --allow-customsnapshotrelease, meaning that it'll publish packages with thesnapshottag and will allow a release from non-mainbranch.--allow-customallows releasing code that's different from what's available upstream@elastic/euiand@elastic/eslint-plugin-euiare published to the custom registryyarn npm logout.yarnrc.ymlgit reset --hard