Skip to content

Commit 04f0c9b

Browse files
committed
release: v2.1.6
1 parent 15abb2c commit 04f0c9b

File tree

3 files changed

+9
-16
lines changed

3 files changed

+9
-16
lines changed

CHANGELOG.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,18 @@
1-
## [2.1.5](https://github.com/RennCheung/codemirror-editor-vue3/compare/v2.1.4...v2.1.5) (2022-06-02)
2-
1+
## [2.1.6](https://github.com/RennCheung/codemirror-editor-vue3/compare/v2.1.4...v2.1.5) (2022-06-02)
32

43
### Bug Fixes
54

6-
* **type:** change codemirror event type([#19](https://github.com/RennCheung/codemirror-editor-vue3/issues/19)) ([f29a9f5](https://github.com/RennCheung/codemirror-editor-vue3/commit/f29a9f5e9e7e06f5fb9d8fc95c17d4b46329621d))
7-
8-
5+
- **type:** change codemirror event type([#19](https://github.com/RennCheung/codemirror-editor-vue3/issues/19)) ([f29a9f5](https://github.com/RennCheung/codemirror-editor-vue3/commit/f29a9f5e9e7e06f5fb9d8fc95c17d4b46329621d))
96

107
## [2.1.4](https://github.com/RennCheung/codemirror-editor-vue3/compare/v2.1.3...v2.1.4) (2022-05-29)
118

12-
139
### Bug Fixes
1410

15-
* 取出 emit 出现警告 ([882d120](https://github.com/RennCheung/codemirror-editor-vue3/commit/882d1207f698d94f3036f8a9fd156392d686f1ff))
16-
11+
- 取出 emit 出现警告 ([882d120](https://github.com/RennCheung/codemirror-editor-vue3/commit/882d1207f698d94f3036f8a9fd156392d686f1ff))
1712

1813
### Features
1914

20-
* Set the default height to 200 ([1faa2f9](https://github.com/RennCheung/codemirror-editor-vue3/commit/1faa2f9f533628a44c228c1830698cdea4f71c1a))
21-
22-
15+
- Set the default height to 200 ([1faa2f9](https://github.com/RennCheung/codemirror-editor-vue3/commit/1faa2f9f533628a44c228c1830698cdea4f71c1a))
2316

2417
## 2.1.3
2518

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "codemirror-editor-vue3",
33
"description": "CodeMirror component for Vue3",
4-
"version": "2.1.5",
4+
"version": "2.1.6",
55
"license": "MIT",
66
"files": [
77
"dist/codemirror-editor-vue3.es.js",
@@ -52,7 +52,7 @@
5252
"dev": "vite",
5353
"build": "vite build",
5454
"build:types": "tsc --emitDeclarationOnly vite build",
55-
"publish": "vite build && git push && git push --tags && npm publish && npm run deploy-docs",
55+
"publish-pkg": "vite build && git push && git push --tags && npm publish && npm run deploy-docs",
5656
"publish-beta": "vite build && npm publish --tag=beta",
5757
"docs-dev": "vitepress dev docs --open",
5858
"docs-build": "vitepress build docs",

scripts/release.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,14 @@ async function main() {
109109
// 推送当前分支代码
110110
step(`\n[Branch ${getCurrentBranch()}] Pushing to GitLab...`);
111111
await runIfNotDry("git", ["tag", `v${targetVersion}`]);
112-
// await runIfNotDry("git", ["push", "origin", `refs/tags/v${targetVersion}`]);
113-
// await runIfNotDry("git", ["push"]);
112+
await runIfNotDry("git", ["push", "origin", `refs/tags/v${targetVersion}`]);
113+
await runIfNotDry("git", ["push"]);
114114
};
115115

116116
await syncPushCode();
117117

118118
step("publish all packages...");
119-
await run("pnpm", ["run", "publish"]);
119+
await run("pnpm", ["run", "publish-pkg"]);
120120

121121
if (isDryRun) {
122122
console.log("\nDry run finished - run git diff to see package changes.");

0 commit comments

Comments
 (0)