Skip to content

Commit 5aad9a8

Browse files
committed
chore: release v2.3.1
1 parent cd65ce4 commit 5aad9a8

File tree

4 files changed

+18
-3
lines changed

4 files changed

+18
-3
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
## [2.3.1](https://github.com/zjx0905/axios-miniprogram/compare/v2.3.0...v2.3.1) (2023-04-21)
2+
3+
4+
### Bug Fixes
5+
6+
* 控制台没有输出适配器错误 ([258954a](https://github.com/zjx0905/axios-miniprogram/commit/258954afc1c39483ff6b1828c8904c5b284890d2))
7+
* 下载进度/上传进度 类型错误 ([2d691b6](https://github.com/zjx0905/axios-miniprogram/commit/2d691b69cbb2d3e27be3698bf4a4188cf71ccb7e))
8+
9+
10+
### Features
11+
12+
* 添加版本号 ([e3346a8](https://github.com/zjx0905/axios-miniprogram/commit/e3346a866f12ed8aa07695f45a8177d631973abd))
13+
14+
15+
116
# [2.3.0](https://github.com/zjx0905/axios-miniprogram/compare/v2.2.0...v2.3.0) (2023-04-18)
217

318

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "axios-miniprogram",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "基于 Promise 的 HTTP 请求库,适用于各大小程序平台。",
55
"main": "dist/axios-miniprogram.cjs.js",
66
"module": "dist/axios-miniprogram.esm.js",

scripts/release.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,5 +118,5 @@ function updateVersion(version: string) {
118118
pkg.version = version;
119119

120120
writeFileSync(pkgPath, JSON.stringify(pkg, null, 2) + '\n');
121-
writeFileSync(versionTSPath, `export const version = ${version};`);
121+
writeFileSync(versionTSPath, `export const version = '${version}';`);
122122
}

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const version = '2.3.0';
1+
export const version = '2.3.1';

0 commit comments

Comments
 (0)