Skip to content

[Bug] Accidental Breacking change with source-branches config #2589

Closed

Description

@david-driscoll

Describe the bug
If the source branches configuration currently references master then upgrading to 5.6.5 will break gitversion.

Expected Behavior

Upgrading to 5.6.5 shouldn't see any breaking changes between versions

Actual Behavior

Upgrade to 5.6.5 causes a breaking change if the source-branches configuration references master

Possible Fix

Unsure

Steps to Reproduce

Example config:

assembly-versioning-scheme: MajorMinorPatch
mode: ContinuousDeployment
continuous-delivery-fallback-tag: ci
next-version: 0.1.0
branches:
  next:
    regex: ^next$
    mode: ContinuousDeployment
    tag: next
    increment: Major
    prevent-increment-of-merged-branch-version: false
    track-merge-target: false
    tracks-release-branches: false
    is-release-branch: false
    source-branches: ['master']
ignore:
  sha: []

If source-branches: ['master'] is changed to ``source-branches: ['main']` everything works again.

Context

#2570

Your Environment

Github Actions and local environment

Activity

  1. linked a pull request that will close this issueFix 2587 master as source #2588on Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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