Skip to content
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

Ability to promote a package from prerelease to stable #1028

Open
rdebeasi opened this issue Dec 13, 2024 · 0 comments
Open

Ability to promote a package from prerelease to stable #1028

rdebeasi opened this issue Dec 13, 2024 · 0 comments

Comments

@rdebeasi
Copy link

rdebeasi commented Dec 13, 2024

When a package is in a prerelease version, there doesn't seem to be a way to "promote" the package to stable with beachball. I could manually edit the package file and logs, of course, but it would be nicer to make the change with beachball! 😄

Related discussion

For inspiration, here's how changesets does prereleases.

Example

 // package.json for @myorg/myinput
"name": "@myorg/myinput",
"version": "2.0.0-rc.0",
{
  "type": "major",
  "comment": "Test",
  "packageName": "@myorg/myinput",
  "email": "[email protected]",
  "dependentChangeType": "patch"
}

Expected behavior

When I run beachball bump, I expect to see @myorg/myinput 2.0.0 (or perhaps @myorg/myinput 3.0.0).

Actual behavior

When I run beachball bump, I see @myorg/myinput 2.0.0-rc.1.

Alternate approach

Perhaps there could be a beachball exit-prerelease command that would remove the -rc suffix and publish @myorg/myinput 2.0.0.

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

No branches or pull requests

1 participant