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

Publishing packages after bumping updates version again #950

Open
kjellknapen opened this issue Mar 6, 2024 · 0 comments
Open

Publishing packages after bumping updates version again #950

kjellknapen opened this issue Mar 6, 2024 · 0 comments

Comments

@kjellknapen
Copy link
Contributor

In the monorepo project I'm working on, We want to publish our packages in the ci/cd pipeline. I have some packages that should be bumped but not published.

Right now I was thinking on implementing it by bumping the files locally and then publishing the bumped packages with a --scope flag to only publish certain packages to the registry.

As of now I don't see a way to do this without publish bumping the versions again. Am I missing something? A flag or config setting? Adding --no-bump has no effect to the version number.

As an example here are the commands I run:

npx beachball change --all --type prerelease --no-commit --message 'Prepare packages for update'

npx beachball bump --prereleasePrefix next --keepChangeFiles

npx beachball publish --tag next --no-push --no-bump --scope CORRECT_SCOPE_HERE

@kjellknapen kjellknapen changed the title Publishing packages after bumping Publishing packages after bumping updates version again Mar 6, 2024
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