mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-14 04:38:18 +10:00
33 lines
1.6 KiB
Diff
33 lines
1.6 KiB
Diff
diff --git a/build/gulpfile.vscode.linux.js b/build/gulpfile.vscode.linux.js
|
|
index cd8610d..2d928b1 100644
|
|
--- a/build/gulpfile.vscode.linux.js
|
|
+++ b/build/gulpfile.vscode.linux.js
|
|
@@ -27,4 +27,2 @@ const commit = getVersion(root);
|
|
|
|
-const linuxPackageRevision = Math.floor(new Date().getTime() / 1000);
|
|
-
|
|
/**
|
|
@@ -90,3 +88,3 @@ function prepareDebPackage(arch) {
|
|
.pipe(replace('@@NAME@@', product.applicationName))
|
|
- .pipe(replace('@@VERSION@@', packageJson.version + '-' + linuxPackageRevision))
|
|
+ .pipe(replace('@@VERSION@@', packageJson.version))
|
|
.pipe(replace('@@ARCHITECTURE@@', debArch))
|
|
@@ -204,3 +202,2 @@ function prepareRpmPackage(arch) {
|
|
.pipe(replace('@@VERSION@@', packageJson.version))
|
|
- .pipe(replace('@@RELEASE@@', linuxPackageRevision))
|
|
.pipe(replace('@@ARCHITECTURE@@', rpmArch))
|
|
@@ -278,3 +275,3 @@ function prepareSnapPackage(arch) {
|
|
.pipe(replace('@@NAME@@', product.applicationName))
|
|
- .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 <typeof vscode>{
|
|
- version: initData.version,
|
|
+ version: initData.version.replace(/\.0+/g, '.'),
|
|
// namespaces
|