mirror of
https://github.com/silvanocerza/github-gitless-sync.git
synced 2026-07-22 05:41:36 +00:00
Change version-bump.mjs to use double space instead of tab for json files
This commit is contained in:
parent
2059149b27
commit
c60481e811
1 changed files with 2 additions and 2 deletions
|
|
@ -6,9 +6,9 @@ const targetVersion = process.env.npm_package_version;
|
|||
let manifest = JSON.parse(readFileSync("manifest.json", "utf8"));
|
||||
const { minAppVersion } = manifest;
|
||||
manifest.version = targetVersion;
|
||||
writeFileSync("manifest.json", JSON.stringify(manifest, null, "\t"));
|
||||
writeFileSync("manifest.json", JSON.stringify(manifest, null, " "));
|
||||
|
||||
// update versions.json with target version and minAppVersion from manifest.json
|
||||
let versions = JSON.parse(readFileSync("versions.json", "utf8"));
|
||||
versions[targetVersion] = minAppVersion;
|
||||
writeFileSync("versions.json", JSON.stringify(versions, null, "\t"));
|
||||
writeFileSync("versions.json", JSON.stringify(versions, null, " "));
|
||||
|
|
|
|||
Loading…
Reference in a new issue