How to publish patch versions on previous minor/major version in lerna using github workflows

Viewed 295

I am handling few packages with Lerna and yarn. I have a GitHub workflow set up to publish the new version for the changed packages when pushed to main using conventional commits.

let's say I have

package-a: 1.4.0

package-b:  3.3.11

As we progress, we published a major version for package-a: 2.0.0.

Now if we want to create a patch release for package-a i.e. 1.4.1, how can I achieve this with Lerna and a proper GitHub workflow that will not disturb my original workflow.

0 Answers
Related