We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 500430b commit 7cf14c2Copy full SHA for 7cf14c2
bump.mjs
@@ -8,9 +8,9 @@ console.log(`Bumping version to ${targetVersion}`)
8
const manifest = JSON.parse(readFileSync('manifest.json', 'utf8'))
9
const { minAppVersion } = manifest
10
manifest.version = targetVersion
11
-writeFileSync('manifest.json', JSON.stringify(manifest, null, '4'))
+writeFileSync('manifest.json', JSON.stringify(manifest, null, 4))
12
13
// update versions.json with target version and minAppVersion from manifest.json
14
const versions = JSON.parse(readFileSync('versions.json', 'utf8'))
15
versions[targetVersion] = minAppVersion
16
-writeFileSync('versions.json', JSON.stringify(versions, null, '4'))
+writeFileSync('versions.json', JSON.stringify(versions, null, 4))
0 commit comments