Update scripts/update-version.js

let try this.

Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
Jérôme Commaret
2025-03-17 18:20:56 +01:00
committed by GitHub
co-authored by Hanzo Dev
parent cc1c4a02b4
commit e0dcfb1dd6
+1 -1
View File
@@ -5,7 +5,7 @@ const semver = require('semver');
function updateProductJson(type = 'patch') {
// Read product.json
const productJsonPath = './product.json';
const product = require('../' + productJsonPath);
const product = JSON.parse(fs.readFileSync(productJsonPath, 'utf8'));
// Update the version
product.voidVersion = semver.inc(product.voidVersion, type);