Skip to content

Commit e04c0ae

Browse files
committed
Add a special judge for Az.Accounts when bump version
1 parent 979391e commit e04c0ae

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tools/VersionController/Models/VersionBumper.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,12 @@ private string GetBumpedVersion()
171171
{
172172
versionBump = Version.MINOR;
173173
}
174+
// fix for https://github.com/Azure/azure-powershell/pull/12356
175+
// this only work when version is 1.9.x
176+
if (splitVersion[0] == 1 && splitVersion[1] == 9 && versionBump == Version.MINOR)
177+
{
178+
versionBump = Version.PATCH;
179+
}
174180
}
175181

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

0 commit comments

Comments
 (0)