chore(versioning): Versionsnummer automatisch in package.json, appVersion.js und package-lock.json synchronisiert

This commit is contained in:
ISA
2025-06-12 11:46:30 +02:00
parent a9a44f275f
commit 5b8bf5cf07
4 changed files with 12 additions and 5 deletions

View File

@@ -37,3 +37,10 @@ fs.writeFileSync(pkgPath, JSON.stringify(pkg, null, 2), "utf8");
if (process.env.NEXT_PUBLIC_DEBUG_LOG === "true") {
console.log(`✅ Version erhöht auf: ${newVersion}`);
}
const { execSync } = require("child_process");
try {
execSync("npm install --package-lock-only", { stdio: "inherit" });
} catch (error) {
console.error("❌ Fehler beim Aktualisieren der package-lock.json:", error);
}