Skip to content

Exclude unchanged crates from a release #298

@tonyg

Description

@tonyg

Maintainer's notes:

  • Considerations for "unchanged":
    • If it has any changes
    • If it has [[bin]] and the lock file changed
    • If it depends on something being released and the dependency will no longer be compatible (pinned dependency with =, major version changed)
      • This needs to be calculated recursively

PR #296 adds a new flag, --exclude-unchanged, that filters the pkgs list (after applying --package, --exclude etc.) to include only those packages that have changed since the last tagged release, plus their transitive dependencies. It uses the existing change-detection logic, and only marks a package "unchanged" if the code would have reached the existing "Updating {} to {} despite no changes made since tag {}" warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions