Publishing packages after bumping updates version again
kjellknapen opened this issue · comments
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