From cd45c1d7513e187f88ce9fad7ade31b599dc3452 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Tue, 8 May 2018 11:49:56 +0800 Subject: [PATCH] docs: add 0.5.0 changelog --- CHANGELOG.en-US.md | 8 ++++++++ CHANGELOG.zh-CN.md | 9 +++++++++ antd-tools/gulpfile.js | 6 +++++- 3 files changed, 22 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 4106c8c29..de6dc13b5 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -2,6 +2,14 @@ --- +## 0.5.0 + +`2018-05-08` + +- 🌟 `Form`: add Form component +- 💄 `Upload.Dragger`: Modify `name` name to `a-upload-dragger` +- 🐞 `Upload`: Fix `name` prop not working + ## 0.4.3 `2018-05-02` diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 9114422fc..188535030 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -2,6 +2,15 @@ --- +## 0.5.0 + +`2018-05-08` + +- 🌟 `Form `新增Form表单组件 +- 💄 `Upload.Dragger`: 修改组件name名称为`a-upload-dragger` +- 🐞 `Upload`: 修复Upload name属性失效问题 + + ## 0.4.3 `2018-05-02` diff --git a/antd-tools/gulpfile.js b/antd-tools/gulpfile.js index 1e06a536b..0bffc5751 100644 --- a/antd-tools/gulpfile.js +++ b/antd-tools/gulpfile.js @@ -252,7 +252,11 @@ gulp.task('compile-with-es', (done) => { }) gulp.task('pub', ['check-git', 'compile'], (done) => { - pub(done) + if (!process.env.GITHUB_TOKEN) { + console.log('no GitHub token found, skip') + } else { + pub(done) + } }) function reportError () {