From f1b9a341887db9f82fecc68187602d30f18d2ca3 Mon Sep 17 00:00:00 2001 From: Robi Nino Date: Mon, 28 Mar 2022 17:46:02 +0300 Subject: [PATCH] fix bump-version --- buildScripts/bump-version.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildScripts/bump-version.js b/buildScripts/bump-version.js index 6bcce267..24fae065 100644 --- a/buildScripts/bump-version.js +++ b/buildScripts/bump-version.js @@ -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' );