Build script cleanup

For #277526

Quick cleanup pass after converting these scripts
This commit is contained in:
Matt Bierner
2025-11-24 14:07:28 -08:00
parent 84f778cf5a
commit e779f86b17
17 changed files with 37 additions and 49 deletions

View File

@@ -5,9 +5,8 @@
import { execSync } from 'child_process';
import { join, resolve } from 'path';
import { readFileSync, writeFileSync } from 'fs';
import { fileURLToPath } from 'url';
const rootPath = resolve(fileURLToPath(import.meta.url), '..', '..', '..', '..');
const rootPath = resolve(import.meta.dirname, '..', '..', '..');
const vscodePath = join(rootPath, 'vscode');
const distroPath = join(rootPath, 'vscode-distro');
const commit = execSync('git rev-parse HEAD', { cwd: distroPath, encoding: 'utf8' }).trim();