mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-21 09:27:31 -07:00
[yarn] Make regen-version log output nicer
This commit is contained in:
parent
780cfcaa4d
commit
0bf429488c
1 changed files with 1 additions and 1 deletions
|
@ -13,6 +13,6 @@ const exec = require("execa");
|
||||||
: (await exec("git", ["rev-parse", "--short", "HEAD"])).stdout;
|
: (await exec("git", ["rev-parse", "--short", "HEAD"])).stdout;
|
||||||
|
|
||||||
json['version'] = `${version}-${revision}`;
|
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'));
|
fs.writeFileSync(file, JSON.stringify(json, null, '\t'));
|
||||||
})();
|
})();
|
||||||
|
|
Loading…
Reference in a new issue