Skip to content

Commit

Permalink
fix bump-version
Browse files Browse the repository at this point in the history
  • Loading branch information
RobiNino committed Mar 28, 2022
1 parent 50b62fe commit f1b9a34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildScripts/bump-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function assertVersion() {
let vssExtensionJson = JSON.parse(vssExtension);
let oldExtensionVersionSplit = vssExtensionJson.version.split('.');
assert.ok(
(oldExtensionVersionSplit[1] < requestedVersionSplit[1] && requestedVersionSplit[2] === 0) || // Minor release
(oldExtensionVersionSplit[1] < requestedVersionSplit[1] && requestedVersionSplit[2] === '0') || // Minor release
(oldExtensionVersionSplit[1] === requestedVersionSplit[1] && oldExtensionVersionSplit[2] < requestedVersionSplit[2]), // Patch release
'Input version must be bigger than current version'
);
Expand Down

0 comments on commit f1b9a34

Please sign in to comment.