Skip to content

Optional flag to produce a new version in the changelog #11

@TTitcombe

Description

@TTitcombe

Is your feature request related to a problem? Please describe.
For doculog to update the changelog with a new version, a tag must be created. However, if the changelog is then updated to reflect the new tag, the updated changelog is not included in the new tag. There should be a way to update a changelog as if a new version has been made before adding a tag.

Describe the solution you'd like
Add optional flags to doculog command: --upgrade-major, --upgrade-minor, --upgrade-patch, which will pretend that a tag of the relevant upgrade has been made and make the new changelog accordingly. If more than one of these flags are provided, the most important part of the version takes precedence (i.e. if --upgrade-major and --upgrade-minor, only upgrade major)

Describe alternatives you've considered
You can mess around with tags to get the changelog update in the correct tag, but this is unwieldy and not user-friendly

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions