mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-30 15:58:05 +09: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