CJ kill my Self

This commit is contained in:
2025-12-04 14:57:10 -05:00
parent 34b2aed773
commit 6e04dc1c74
2 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
const fs = require('fs');
const path = require('path');
const pkgPath = path.join(__dirname, '..', 'package.json');
const pkg = JSON.parse(fs.readFileSync(pkgPath, 'utf8'));
const outputFile = process.env.GITHUB_OUTPUT;
if (outputFile) {
fs.appendFileSync(outputFile, `VERSION=${pkg.version}\n`);
}
console.log(pkg.version);