mirror of
https://github.com/certd/certd.git
synced 2026-04-28 07:57:25 +08:00
chore: github action build
This commit is contained in:
@@ -27,6 +27,7 @@ jobs:
|
|||||||
const path = require('path');
|
const path = require('path');
|
||||||
const jsonFilePath = "./packages/ui/certd-server/package.json";
|
const jsonFilePath = "./packages/ui/certd-server/package.json";
|
||||||
const jsonContent = fs.readFileSync(jsonFilePath, 'utf-8');
|
const jsonContent = fs.readFileSync(jsonFilePath, 'utf-8');
|
||||||
|
console.log(jsonContent)
|
||||||
const pkg = JSON.parse(jsonContent)
|
const pkg = JSON.parse(jsonContent)
|
||||||
// 打印 JSON 文件内容
|
// 打印 JSON 文件内容
|
||||||
console.log("certd_version:",pkg.version);
|
console.log("certd_version:",pkg.version);
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
2
|
3
|
||||||
Reference in New Issue
Block a user