From 2610b370f4769faf397cffd7c2292429f344876f Mon Sep 17 00:00:00 2001 From: Danielo Rodriguez Date: Fri, 15 Sep 2023 17:17:17 +0200 Subject: [PATCH] chore: version bump logs --- version-bump.mjs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/version-bump.mjs b/version-bump.mjs index 1bf84094..549ccc9a 100644 --- a/version-bump.mjs +++ b/version-bump.mjs @@ -12,6 +12,12 @@ const targetVersion = process.env.npm_package_version || packageData.version; // read minAppVersion from manifest.json and bump version to target version let manifest = JSON.parse(readFileSync("manifest.json", "utf8")); const { minAppVersion } = manifest; +console.info( + "Version bumping to", + targetVersion, + "with minAppVersion", + minAppVersion +); manifest.version = targetVersion; writeFileSync("manifest.json", JSON.stringify(manifest, null, "\t")); @@ -19,3 +25,6 @@ writeFileSync("manifest.json", JSON.stringify(manifest, null, "\t")); let versions = JSON.parse(readFileSync("versions.json", "utf8")); versions[targetVersion] = minAppVersion; writeFileSync("versions.json", JSON.stringify(versions, null, "\t")); + +console.table(versions); +console.table(manifest);