mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
set extensions package.json version on build
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
2085658f10
commit
f0e9ef76ee
@ -50,7 +50,6 @@ for (const manifestPath of extensionManifests) {
|
|||||||
|
|
||||||
import(packagePath).then((packageInfo) => {
|
import(packagePath).then((packageInfo) => {
|
||||||
packageInfo.default.version = `${versionInfo.raw}.${Date.now()}`;
|
packageInfo.default.version = `${versionInfo.raw}.${Date.now()}`;
|
||||||
console.log(packageInfo.default);
|
|
||||||
fs.writeFileSync(packagePath, `${JSON.stringify(packageInfo.default, null, 2)}\n`);
|
fs.writeFileSync(packagePath, `${JSON.stringify(packageInfo.default, null, 2)}\n`);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user