You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I am implementing gitversion for semantic versioning
i have these labels for a curent application on a "development" branch treating it as mainline
Onlife.Services.Settings.ApiClient-v3.1.7
Onlife.Services.Settings.ApiClient-v3.1.8
i have this gitversion.yml
i am assuming if I run dotnet-gitversion /config gitversion.yml /output json that I would have 3.1.8 calculated as the SemVer but instead i get 3.2.0
{
"AssemblySemFileVer": "3.2.0.0",
"AssemblySemVer": "3.2.0.0",
"BranchName": "dldld",
"BuildMetaData": 1,
"CommitDate": "2025-04-18",
"CommitsSinceVersionSource": 1,
"EscapedBranchName": "dldld",
"FullBuildMetaData": "1.Branch.dldld.Sha.263f9092fced3f3f78f73ca1e72d3a9f7ddb918d",
"FullSemVer": "3.2.0-dldld.1+1",
"InformationalVersion": "3.2.0-dldld.1+1.Branch.dldld.Sha.263f9092fced3f3f78f73ca1e72d3a9f7ddb918d",
"Major": 3,
"MajorMinorPatch": "3.2.0",
"Minor": 2,
"Patch": 0,
"PreReleaseLabel": "dldld",
"PreReleaseLabelWithDash": "-dldld",
"PreReleaseNumber": 1,
"PreReleaseTag": "dldld.1",
"PreReleaseTagWithDash": "-dldld.1",
"SemVer": "3.2.0-dldld.1",
"Sha": "263f9092fced3f3f78f73ca1e72d3a9f7ddb918d",
"ShortSha": "263f909",
"UncommittedChanges": 1,
"VersionSourceSha": "909a99a90f900a98e6f0070fb28b8512a5f68580",
"WeightedPreReleaseNumber": 1
}
What am i missing and with no new commits why wont it calculate 3.1.8
thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions