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);