Skip to content

Commit 10ab1a6

Browse files
committed
build: update release script and config
1 parent b70f3dd commit 10ab1a6

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"ignoreChanges": [
1010
"**/*.md"
1111
],
12-
"message": "build: release version %s"
12+
"message": "build: release version %v"
1313
}
1414
}
1515
}

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"packages:changed": "lerna changed",
1919
"packages:diff": "lerna diff",
2020
"packages:list": "lerna ls -l",
21-
"prepublishOnly": "yarn --pure-lockfile && yarn lint && yarn test && yarn build",
2221
"register-vuepress": "lerna exec --scope vuepress -- yarn link",
2322
"release": "yarn lint && yarn build && yarn test && node scripts/release.js",
2423
"remote-version": "node scripts/remote-version.js",

scripts/release.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ const release = async () => {
127127
)
128128

129129
await execa('git', ['add', '-A'], { stdio: 'inherit' })
130-
await execa('git', ['commit', '-m', `chore: ${version} changelog`], { stdio: 'inherit' })
130+
await execa('git', ['commit', '-m', `chore: version ${version} changelog`], { stdio: 'inherit' })
131131
}
132132

133133
release().catch(err => {

0 commit comments

Comments
 (0)