提交 10ab1a6c 编写于 作者: M meteorlxy

build: update release script and config

上级 b70f3dda
......@@ -9,7 +9,7 @@
"ignoreChanges": [
"**/*.md"
],
"message": "build: release version %s"
"message": "build: release version %v"
}
}
}
......@@ -18,7 +18,6 @@
"packages:changed": "lerna changed",
"packages:diff": "lerna diff",
"packages:list": "lerna ls -l",
"prepublishOnly": "yarn --pure-lockfile && yarn lint && yarn test && yarn build",
"register-vuepress": "lerna exec --scope vuepress -- yarn link",
"release": "yarn lint && yarn build && yarn test && node scripts/release.js",
"remote-version": "node scripts/remote-version.js",
......
......@@ -127,7 +127,7 @@ const release = async () => {
)
await execa('git', ['add', '-A'], { stdio: 'inherit' })
await execa('git', ['commit', '-m', `chore: ${version} changelog`], { stdio: 'inherit' })
await execa('git', ['commit', '-m', `chore: version ${version} changelog`], { stdio: 'inherit' })
}
release().catch(err => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册