chore(versioning): Versionsnummer automatisch in package.json, appVersion.js und package-lock.json synchronisiert
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user