Skip to content

Commit

Permalink
Update RELEASE
Browse files Browse the repository at this point in the history
Add missing version command

fix publish script

Fix publish script
  • Loading branch information
cpylua committed Nov 27, 2019
1 parent c9aee28 commit 6f8c040
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 4 deletions.
10 changes: 10 additions & 0 deletions packages/zent/RELEASE_en-US.md
Expand Up @@ -8,6 +8,16 @@ You can find detailed change logs for versions prior to 3.5.3 at [Github Log](gi
- [Upgrade to 3.x](../migrating/3x)
- [Upgrade to 2.1.x](../migrating/21x)

### 7.3.1(2019-11-27)

- ✨ New `Link` component to replace `zent-link` CSS class
- ✨ Add `labelStyle` to `Radio` and `Checkbox`
- 🦀️ Fix `ButtonDirective` children style issue
- 🦀️ Fix inconsistent package version between build and publish
- 🦀️ Revert `Radio` label's `display` to `inline`
- 🦀️ Fix elements other than `Radio` are invisible inside `RadioGroup`
- 🦀️ Fix elements other than `Checkbox` are invisible inside `CheckboxGroup`

### 7.3.0(2019-11-26)

- 🎉 Isolate styles in different zent versions
Expand Down
12 changes: 11 additions & 1 deletion packages/zent/RELEASE_zh-CN.md
Expand Up @@ -8,7 +8,17 @@
- [3.x 升级指南](../migrating/3x)
- [2.1.x 升级指南](../migrating/21x)

### 7.3.0(2019-11-26)
### 7.3.1(2019-11-27)

- ✨ 新增 `Link` 组件替换 `zent-link` CSS 的使用场景
-`Radio``Checkbox` 新增 `labelStyle`
- 🦀️ 修复 `ButtonDirective` 样式问题
- 🦀️ 修复打包编译时读取到的包版本和发布的版本不一致的问题
- 🦀️ 回滚 `Radio` 文字标签的 `display``inline`
- 🦀️ 修复 `RadioGroup` 内非 `Radio` 组件不可见的问题
- 🦀️ 修复 `CheckboxGroup` 内非 `Checkbox` 组件不可见的问题

### 7.3.0(2019-11-25)

- 🎉 隔离不同版本 zent 的样式,避免页面上存在两份 zent 时的样式污染。
- 🎉 增加了一批编译期常量,可在 TypeScript 或者 SCSS 文件内使用,类似 C 语言的 `__FILE__` 这种变量
Expand Down
2 changes: 1 addition & 1 deletion packages/zent/package.json
@@ -1,6 +1,6 @@
{
"name": "zent",
"version": "7.3.0",
"version": "7.3.1",
"description": "一套前端设计语言和基于React的实现",
"bugs": "https://github.com/youzan/zent/issues",
"repository": {
Expand Down
5 changes: 3 additions & 2 deletions scripts/publish.sh
Expand Up @@ -4,9 +4,10 @@ set -e

basepath=$(dirname $0)

# bump version first, build relies on it
yarn workspace "$1" version

# 重新bootstrap,以防有人改了依赖
yarn bootstrap "$1"

# bump version first, build relies on it
yarn workspace "$1" version
yarn workspace "$1" publish --non-interactive "${@:2}"

0 comments on commit 6f8c040

Please sign in to comment.