diff --git a/package.json b/package.json index 4dda575b5..798617d7b 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/scripts/get-new-version.js b/scripts/get-new-version.js index 4b8d09819..a857e4397 100644 --- a/scripts/get-new-version.js +++ b/scripts/get-new-version.js @@ -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")