Skip to content

Minor updates do not handle major version zero correctly #1523

Open
@lesleh

Description

@lesleh

Steps to Reproduce

Steps:

Current Behavior

When passing -t minor, version updates with major version zero get included, even though major version 0 can include breaking changes and should be treated the same as semver major.

For example, if a package is on 0.1.0, and there's a new version called 0.2.0, it will update, even though it shouldn't.

Expected Behavior

Minor version increments when the major version is zero should be excluded from being updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions