Skip to content

🐛 Hotfix branch version number is not always accurate #96

@candoumbe

Description

@candoumbe

Usage Information

Package version : 0.6.0

Relevant Code / Invocations

When on a build that implements Github.IGitFlowWithPullRequest, calling hotfix target when the current branch is develop causes the hotfix branch version to be incorrect.

main branch version : 1.0.0

  • develop branch version : 1.1.0

calling hotfix target will create a local branch called hotfix/1.1.1

Expected Behavior

The version of the hotfix branch should be computed from the main branch, no matter what current branch the user is when calling hotfix target.

Metadata

Metadata

Assignees

Labels

area:repo-github :octocat:Related to the GitHub Repositoryarea:workflowRelated to git branching strategybug 🐛Something isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions