[yarn] Make regen-version log output nicer

This commit is contained in:
Laura Hausmann 2023-11-06 23:06:24 +01:00
parent 780cfcaa4d
commit 0bf429488c
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -13,6 +13,6 @@ const exec = require("execa");
: (await exec("git", ["rev-parse", "--short", "HEAD"])).stdout;
json['version'] = `${version}-${revision}`;
console.log(json['version']);
console.log(`Package version was updated to ${json['version']}`);
fs.writeFileSync(file, JSON.stringify(json, null, '\t'));
})();