File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
tools/VersionController/Models Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -171,6 +171,15 @@ private string GetBumpedVersion()
171171 {
172172 versionBump = Version . MINOR ;
173173 }
174+ // for https://github.com/Azure/azure-powershell/pull/12356
175+ // 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
176+ // So we add a special judge for it when the version is 1.9.x and the expect bump type is minor,
177+ // 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
178+ // this special judge will not works anymore.
179+ if ( splitVersion [ 0 ] == 1 && splitVersion [ 1 ] == 9 && versionBump == Version . MINOR )
180+ {
181+ versionBump = Version . PATCH ;
182+ }
174183 }
175184
176185 // PATCH update for preview modules (0.x.x or x.x.x-preview)
You can’t perform that action at this time.
0 commit comments