version-0-release.patch 1.1 KB

1234567891011121314151617181920212223
  1. diff --git a/build/gulpfile.vscode.linux.js b/build/gulpfile.vscode.linux.js
  2. index cd8610d..2d928b1 100644
  3. --- a/build/gulpfile.vscode.linux.js
  4. +++ b/build/gulpfile.vscode.linux.js
  5. @@ -27,4 +27,2 @@ const commit = getVersion(root);
  6. -const linuxPackageRevision = Math.floor(new Date().getTime() / 1000);
  7. -
  8. /**
  9. @@ -90,3 +88,3 @@ function prepareDebPackage(arch) {
  10. .pipe(replace('@@NAME@@', product.applicationName))
  11. - .pipe(replace('@@VERSION@@', packageJson.version + '-' + linuxPackageRevision))
  12. + .pipe(replace('@@VERSION@@', packageJson.version))
  13. .pipe(replace('@@ARCHITECTURE@@', debArch))
  14. @@ -204,3 +202,2 @@ function prepareRpmPackage(arch) {
  15. .pipe(replace('@@VERSION@@', packageJson.version))
  16. - .pipe(replace('@@RELEASE@@', linuxPackageRevision))
  17. .pipe(replace('@@ARCHITECTURE@@', rpmArch))
  18. @@ -278,3 +275,3 @@ function prepareSnapPackage(arch) {
  19. .pipe(replace('@@NAME@@', product.applicationName))
  20. - .pipe(replace('@@VERSION@@', commit.substr(0, 8)))
  21. + .pipe(replace('@@VERSION@@', packageJson.version))
  22. // Possible run-on values https://snapcraft.io/docs/architectures