chore: publish github

This commit is contained in:
xiaojunnuo
2026-01-16 15:47:25 +08:00
parent 0224faa184
commit 8685aa371a
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@
"start:server": "cd ./packages/ui/certd-server && npm start",
"devb": "lerna run dev-build",
"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",
"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",

View File

@@ -17,7 +17,7 @@ export function getVersionContent() {
const contentStart = versionLineIndex + 1
lines = lines.slice(contentStart)
const contentEnd = lines.findIndex(line => {
return line.startsWith('## ')
return line.startsWith('## [') || line.startsWith('# [')
})
const content = lines.slice(0, contentEnd).join('\n')
console.log("-------title------/n")