mirror of
https://github.com/certd/certd.git
synced 2026-04-30 09:17:24 +08:00
chore:
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "lerna bootstrap --hoist",
|
"start": "lerna bootstrap --hoist",
|
||||||
"i-all": "lerna link && lerna exec npm install ",
|
"i-all": "lerna link && lerna exec npm install ",
|
||||||
"publish": "npm run prepublishOnly1 && lerna publish --conventional-commits && npm run afterpublishOnly && npm run deploy1",
|
"publish": "npm run prepublishOnly1 && lerna publish --conventional-commits --create-release github && npm run afterpublishOnly && npm run deploy1",
|
||||||
"afterpublishOnly": "",
|
"afterpublishOnly": "",
|
||||||
"prepublishOnly1": "npm run check && npm run before-build && lerna run build ",
|
"prepublishOnly1": "npm run check && npm run before-build && lerna run build ",
|
||||||
"before-build": "cd ./packages/core/acme-client && time /t >build.md && git add build.trigger && git commit -m \\\"build: prepare to build\\\"",
|
"before-build": "cd ./packages/core/acme-client && time /t >build.md && git add build.trigger && git commit -m \\\"build: prepare to build\\\"",
|
||||||
|
|||||||
+7
-1
@@ -8,6 +8,12 @@ function check(){
|
|||||||
console.error("git-add 没有修改过")
|
console.error("git-add 没有修改过")
|
||||||
throw new Error("git-add 还没修改过")
|
throw new Error("git-add 还没修改过")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//GH_TOKEN
|
||||||
|
if(!process.env.GH_TOKEN){
|
||||||
|
console.error("GH_TOKEN 未设置")
|
||||||
|
throw new Error("GH_TOKEN 未设置")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
check()
|
check()
|
||||||
|
|||||||
Reference in New Issue
Block a user