mirror of
https://github.com/certd/certd.git
synced 2026-04-24 20:57:26 +08:00
chore: publish github
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@
|
|||||||
"start:server": "cd ./packages/ui/certd-server && npm start",
|
"start:server": "cd ./packages/ui/certd-server && npm start",
|
||||||
"devb": "lerna run dev-build",
|
"devb": "lerna run dev-build",
|
||||||
"i-all": "lerna link && lerna exec npm install ",
|
"i-all": "lerna link && lerna exec npm install ",
|
||||||
"publish": "npm run prepublishOnly2 && lerna publish --force-publish=pro/plus-core --conventional-commits --create-release github && npm run afterpublishOnly ",
|
"publish": "npm run prepublishOnly2 && lerna publish --force-publish=pro/plus-core --conventional-commits && npm run afterpublishOnly ",
|
||||||
"afterpublishOnly": "npm run copylogs && time /t >trigger/build.trigger && git add ./trigger/build.trigger && git commit -m \"build: trigger build image\" && TIMEOUT /T 10 && npm run commitAll",
|
"afterpublishOnly": "npm run copylogs && time /t >trigger/build.trigger && git add ./trigger/build.trigger && git commit -m \"build: trigger build image\" && TIMEOUT /T 10 && npm run commitAll",
|
||||||
"transform-sql": "cd ./packages/ui/certd-server/db/ && node --experimental-json-modules transform.js",
|
"transform-sql": "cd ./packages/ui/certd-server/db/ && node --experimental-json-modules transform.js",
|
||||||
"plugin-doc-gen": "cd ./packages/ui/certd-server/ && npm run export-metadata",
|
"plugin-doc-gen": "cd ./packages/ui/certd-server/ && npm run export-metadata",
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ export function getVersionContent() {
|
|||||||
const contentStart = versionLineIndex + 1
|
const contentStart = versionLineIndex + 1
|
||||||
lines = lines.slice(contentStart)
|
lines = lines.slice(contentStart)
|
||||||
const contentEnd = lines.findIndex(line => {
|
const contentEnd = lines.findIndex(line => {
|
||||||
return line.startsWith('## ')
|
return line.startsWith('## [') || line.startsWith('# [')
|
||||||
})
|
})
|
||||||
const content = lines.slice(0, contentEnd).join('\n')
|
const content = lines.slice(0, contentEnd).join('\n')
|
||||||
console.log("-------title------/n")
|
console.log("-------title------/n")
|
||||||
|
|||||||
Reference in New Issue
Block a user