8000 [TS-653] Version does not consider base branch · Issue #92 · codacy/git-version · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[TS-653] Version does not consider base branch #92
Open
@jsmith-kno2

Description

@jsmith-kno2

I have the following branching strategy:

master -> rc -> feature branch
master -> hotfix

Nothing remarkable; master represents what's in prod. We work in sprints, so the rc branch represents the accumulated sprint work. Occasionally we have an issue in prod that requires immediate resolution. In those cases, we branch from master to develop the hotfix. After the hotfix is merged into master, we need to merge those changes forward into rc.

I'm encountering an issue with the generated version when performing this merge forward from master to rc. I expected the version to be a pre-release as the base is not the default branch but instead it's generating a full release version because the current branch is the default branch.

Any suggestions or is this something that should possibly be considered in the version generation code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    jira-issueIssue tracked on JIRA

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0