fix(ci): remove sync-version.js that depends on deleted VERSION file

This commit is contained in:
kaitranntt committed 2025-12-19 01:14:24 -05:00
1 parent 86d41e5e4d
commit 18729c9983
2 files changed
-17

No files matched your search

-15
View File
@@ -1,15 +0,0 @@
#!/usr/bin/env node
const fs = require('fs');
const path = require('path');
// Read VERSION file
const versionFile = path.join(__dirname, '..', 'VERSION');
const version = fs.readFileSync(versionFile, 'utf8').trim();
// Update package.json
const pkgPath = path.join(__dirname, '..', 'package.json');
const pkg = JSON.parse(fs.readFileSync(pkgPath, 'utf8'));
pkg.version = version;
fs.writeFileSync(pkgPath, JSON.stringify(pkg, null, 2) + '\n');
console.log(`✓ Synced version ${version} to package.json`);