Skip to content

Maintenance: add forcePublish flag to lerna config #3229

Closed
@am29d

Description

@am29d

Summary

In the last release the versioning workflow did not bump the parser package, which is not what we expected. After going through all the commits between the releases it turned out that for all the releases before that, we had commits that were picked up by lerna and versioning worked as expected. These are usually dependabot or repo wide changes, i.e. new customer reference, that would affect all packages.

In the last two weeks there was not a single commit to the parser package, and thus lerna versioning did not bump it.

To avoid that in the future, we should add forcePublish flag to the lerna.json configuration.

Why is this needed?

So lerna bumps all package version regardless of commit history.

Which area does this relate to?

Automation

Solution

No response

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

Metadata

Metadata

Assignees

Labels

automationThis item relates to automationcompletedThis item is complete and has been merged/shippedinternalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions