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

Skip to content

Conversation

@devlead
Copy link
Member

@devlead devlead commented Dec 12, 2025

  • Update GitVersion.Tool from 5.12.0 to 6.5.1
  • Migrate GitVersion.yml configuration for v6.0.0+ compatibility:
    • Rename 'tag' property to 'label' (breaking change in v6.0.0)
    • Update deployment modes: ContinuousDelivery->ManualDeployment for master, ContinuousDeployment→ContinuousDelivery for develop
    • Remove deprecated properties: prevent-increment-of-merged-branch-version and track-merge-target
    • Add prevent-increment.when-current-commit-tagged for develop branch
    • Add explicit regex patterns for branch matching
  • Reconstruct LegacySemVerPadded format removed in GitVersion 6.0.0:
    • Add GetLegacySemVerPadded helper method to maintain backward compatibility
    • Format: {MajorMinorPatch}-{PreReleaseLabel}{PreReleaseNumber:D4}
    • Example: 6.1.0-alpha0041
  • fixes Update GitVersion.Tool to 6.5.1 #4696

@devlead devlead changed the title (GH-4696) Update GitVersion.Tool to 6.5.1 and migrate configuration GH4696: Update GitVersion.Tool to 6.5.1 and migrate configuration Dec 12, 2025
@devlead devlead marked this pull request as ready for review December 12, 2025 15:13
@devlead devlead requested a review from gep13 December 12, 2025 15:14
@arturcic
Copy link
Contributor

@HHobeck do you mind checking the GitVersion.yaml file? Helping the cake-build team to use our tool

…guration

- Update GitVersion.Tool from 5.12.0 to 6.5.1
- Migrate GitVersion.yml configuration for v6.0.0+ compatibility:
  * Rename 'tag' property to 'label' (breaking change in v6.0.0)
  * Update deployment modes: ContinuousDelivery->ManualDeployment for master, ContinuousDeployment→ContinuousDelivery for develop
  * Remove deprecated properties: prevent-increment-of-merged-branch-version and track-merge-target
  * Add prevent-increment.when-current-commit-tagged for develop branch
  * Add explicit regex patterns for branch matching
- Reconstruct LegacySemVerPadded format removed in GitVersion 6.0.0:
  * Add GetLegacySemVerPadded helper method to maintain backward compatibility
  * Format: {MajorMinorPatch}-{PreReleaseLabel}{PreReleaseNumber:D4}
  * Example: 6.1.0-alpha0041
- fixes cake-build#4696
@HHobeck
Copy link

HHobeck commented Dec 14, 2025

I’d recommend always defining the workflow property and only overriding values that are specific to your workflow:

workflow: GitFlow/v1
next-version: 6.0.0
branches:
  main:
    mode: ManualDeployment
ignore:
  sha:
    - 2a4757b270f7946122ba6622e3d2e72b2b2808a7
    - 3e91c23637b97bc4e4c3234f93ffd03e6af70e8c

I’m not sure why ManualDeployment is being used for the main branch. Typically, this would be set to ContinuousDeployment.

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update GitVersion.Tool to 6.5.1

3 participants