-
Notifications
You must be signed in to change notification settings - Fork 82
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
chore: add script to make versioning and publishing prereleases easier #2206
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
size-limit report 📦
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How, if at all, does this handle having both a stable and a prerelease version of a component? Is that even possible? |
~~For that we could have a json file that store the prerelease versions that weren't merged into stable yet, but we would need to also add a command to mark that we will merge a prerelease package into stable. 🤔 ~~ Nevermind that, since need the prerelease code on the main branch so it shows up on the website, once a package enter a prerelease state, it will only receive a new stable version if that prerelease is completed. |
I think that's okay, but we should add documentation specifying that prerelease is only for new components. Or something like that. What do you think? |
contentful#2206) * chore: add prerelease script to make creating prereleases easier * chore: improve prerelease script and add ignore field on changeset config * docs: improve documentation around prereleases * docs: add note about prereleases being only for new packages
Purpose of PR
Add script to make the handling of prereleases packages easier.
The script will handle:
PS: kept with the
--dry-run
flag for now for testing, will remove it before merging intomain