Skip to content

bug: message format template does not receive documented variables #212

Open
@macrozone

Description

@macrozone

according to https://github.com/semantic-release/git#message

multiple variables are available, eg. branch.type (what i desperatly need), but this seems to have been broken.

in https://github.com/semantic-release/git/blob/master/lib/prepare.js#L65

its clear that these variables are not available. Worse: branch has been overwritten with branch.name. So without breaking, we cannot re-introduce the branch variable to access branch.type etc. On the other hand, the current behaviour is not documented and therefore might not be intended

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