Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions tools/VersionController/Models/VersionBumper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,15 @@ private string GetBumpedVersion()
{
versionBump = Version.MINOR;
}
// for https://github.com/Azure/azure-powershell/pull/12356
// Because of the wrong compare script in the link above, we need to avoid the minor bump when the version of Az.Accounts is 1.9.x
// So we add a special judge for it when the version is 1.9.x and the expect bump type is minor,
// we will change the type to patch so that it can work until 1.9.9.Once the version is greater or equal than 2.0.0
// this special judge will not works anymore.
if (splitVersion[0] == 1 && splitVersion[1] == 9 && versionBump == Version.MINOR)
{
versionBump = Version.PATCH;
}
}

// PATCH update for preview modules (0.x.x or x.x.x-preview)
Expand Down