diff --git a/patches/version-0-release.patch b/patches/version-0-release.patch index 51907a4..c4e2070 100644 --- a/patches/version-0-release.patch +++ b/patches/version-0-release.patch @@ -21,3 +21,12 @@ index cd8610d..2d928b1 100644 - .pipe(replace('@@VERSION@@', commit.substr(0, 8))) + .pipe(replace('@@VERSION@@', packageJson.version)) // Possible run-on values https://snapcraft.io/docs/architectures +diff --git a/src/vs/workbench/api/common/extHost.api.impl.ts b/src/vs/workbench/api/common/extHost.api.impl.ts +index f13affa..60f0ccb 100644 +--- a/src/vs/workbench/api/common/extHost.api.impl.ts ++++ b/src/vs/workbench/api/common/extHost.api.impl.ts +@@ -1548,3 +1548,3 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I + return { +- version: initData.version, ++ version: initData.version.replace(/\.0+/g, '.'), + // namespaces