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 @@ -126,6 +126,15 @@ private string GetBumpedVersion()
126126 {
127127 versionBump = Version . MINOR ;
128128 }
129+ // for https://github.com/Azure/azure-powershell/pull/12356
130+ // 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
131+ // So we add a special judge for it when the version is 1.9.x and the expect bump type is minor,
132+ // 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
133+ // this special judge will not works anymore.
134+ if ( splitVersion [ 0 ] == 1 && splitVersion [ 1 ] == 9 && versionBump == Version . MINOR )
135+ {
136+ versionBump = Version . PATCH ;
137+ }
129138 }
130139
131140 // 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