chore: cleaned changelog

This commit is contained in:
2025-06-23 16:11:56 +03:00
parent b04e6efd38
commit 31af44a93f
7 changed files with 208 additions and 54 deletions

View File

@@ -1,12 +0,0 @@
const fs = require("fs");
const path = require("path");
module.exports = async ({ nextRelease }) => {
const manifestPath = path.resolve(__dirname, "../manifest.json");
const manifest = JSON.parse(fs.readFileSync(manifestPath, "utf8"));
manifest.version = nextRelease.version;
fs.writeFileSync(manifestPath, JSON.stringify(manifest, null, 2));
console.log(`✅ Updated manifest.json to version ${nextRelease.version}`);
};

View File

@@ -0,0 +1,13 @@
const fs = require("fs");
const version = process.argv[2];
if (!version) {
console.error("❌ No version passed");
process.exit(1);
}
const manifest = JSON.parse(fs.readFileSync("manifest.json", "utf-8"));
manifest.version = version;
fs.writeFileSync("manifest.json", JSON.stringify(manifest, null, 2));
console.log(`✅ Updated manifest.json to version ${version}`);