aboutsummaryrefslogtreecommitdiff
path: root/contrib/bump-taler-version.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bump-taler-version.mjs')
-rwxr-xr-xcontrib/bump-taler-version.mjs4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/bump-taler-version.mjs b/contrib/bump-taler-version.mjs
index a51ed9ad6..03f51f9de 100755
--- a/contrib/bump-taler-version.mjs
+++ b/contrib/bump-taler-version.mjs
@@ -52,7 +52,7 @@ for (const pkg of packages) {
console.log(p, data.version);
if (!dry) {
data.version = requestedVersion;
- fs.writeFileSync(p, JSON.stringify(data));
+ fs.writeFileSync(p, JSON.stringify(data, undefined, 2));
}
}
@@ -75,6 +75,6 @@ for (const pkg of packages) {
if (!dry) {
data.version = dottedVer;
data.version_name = requestedVersion;
- fs.writeFileSync(p, JSON.stringify(data));
+ fs.writeFileSync(p, JSON.stringify(data, undefined, 2));
}
}