Skip to content

Add offline/local version of --bumped-version #1095

@W1M0R

Description

@W1M0R

Is there an existing issue or pull request for this?

  • I have searched the existing issues and pull requests

Feature description

This feature would enable calculation of the bumped version without requiring an authentication token (e.g. GITLAB_TOKEN) and without need to access the remote. It purely consults the local git history and tags to make its calculation.

Desired solution

It would be nice if --bumped-version could be local/offline by default, but alternatively, one could add a flag that sets that preference, e.g. --offline or --local.

Alternatives considered

I don't think there is an alternative, other than trying a different utility, but then we would have to define our "bump rules" for two different tools and keep them in sync.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions