Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Changelog generator should respect the --prefix flag when using the version as "unreleased" field #123

@remissio

Description

@remissio

In a few of our repositories we are creating version tags without a prefix. When we create releases we are using e.g. convco changelog --unreleased="1.3.2" --include-hidden-sections --prefix="" to generate a changelog prior to creating a release commit. This leads to the unreleased section receiving a previx v while all other sections don't have a prefix.

grafik

# git tag --list
1.0.0
1.0.1
1.0.2
1.0.3
1.1.0
1.2.0
1.3.0
1.3.1

As a hack around this i could use convco changelog --unreleased="1.3.2 " --include-hidden-sections --prefix="" (with a space behind the version to disrupt the semver detection) but i feel like this should not be necessary.

I don't think this is a bug since this behaviour is as documented (within the --help menu).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions