mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
[yarn] Make regen-version log output nicer
This commit is contained in:
parent
780cfcaa4d
commit
0bf429488c
@ -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 New Issue
Block a user