Skip to content

Commit

Permalink
chore(release): released 2.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
zoomchan-cxj committed Dec 3, 2020
1 parent 98480c5 commit 393b023
Show file tree
Hide file tree
Showing 21 changed files with 96 additions and 39 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,26 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.1.4](https://github.com/Tencent/Hippy/compare/2.1.3...2.1.4) (2020-12-03)


### Bug Fixes

* **hippy-react:** fix pullHeader and pullFooter ([#420](https://github.com/Tencent/Hippy/issues/420)) ([abfc574](https://github.com/Tencent/Hippy/commit/abfc57401951acca4fb3fea72456784efcd4e926))
* **hippy-react-web:** suppress childContextTypes warning ([#431](https://github.com/Tencent/Hippy/issues/431)) ([4a7ba66](https://github.com/Tencent/Hippy/commit/4a7ba66fc7ada2ba0f4010ab49b4e24d1886bca2))
* **hippy-react,hippy-vue:** fixed setNativeProps demo ([#436](https://github.com/Tencent/Hippy/issues/436)) ([cf8be7c](https://github.com/Tencent/Hippy/commit/cf8be7cb19919bf5a1fe2bdd5372690ec98024da))


### Features

* **hippy-vue,hippy-react:** added setNativeProps on element ([#430](https://github.com/Tencent/Hippy/issues/430)) ([d1f7e21](https://github.com/Tencent/Hippy/commit/d1f7e216b5fef46ace0cf50803ad2940b429a0d6))
* **hippy-vue,hippy-react:** perf setNativeProps ([5cd1291](https://github.com/Tencent/Hippy/commit/5cd12910262ad3bb15d07c2dc974a829958a2b86))
* support isomorphic rendering ([#415](https://github.com/Tencent/Hippy/issues/415)) ([c131734](https://github.com/Tencent/Hippy/commit/c1317348bab9d38990decf7d39f0631d807ab9a5))





## [2.1.2](https://github.com/Tencent/Hippy/compare/2.1.1...2.1.2) (2020-11-23)


Expand Down
23 changes: 7 additions & 16 deletions PUBLISH.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,9 @@ lerna version [VERSION] --conventional-commits --tag-version-prefix='' --no-push
lerna 生成版本号和 CHANGELOG 后,需要回退一下版本,所有发布改动需要合并到一个 commit 中。

```bash
git rebase -i HEAD^
git reset --soft HEAD^
```

进入 vim 或者编辑器后选择最后一个版本的 commit,并将要修改的 `pick` 修改成 `edit`,如果是 vim 则输入 `:` 并输入 `wq` 保存退出 vim。

此时进入 rebase 状态。

首先需要更新一下 commit message,因为自动生成的无法通过自动代码检查。

```bash
git commit --amend -S
```

输入符合 [Convention Commit](https://conventionalcommits.org/) 规范的 commit message,版本发布一般推荐使用:`chore(release): released [VERSION]` 这样的 commit message。

同时删除 tag,一会儿更新后需要重新生成 tag

```bash
Expand Down Expand Up @@ -90,10 +78,13 @@ git status

```bash
git add [FILES]
git rebase --continue
```

会结束 rebase 状态,然后再次检查 commit 中的内容正确。
输入符合 [Convention Commit](https://conventionalcommits.org/) 规范的 commit message

```bash
git commit -m 'chore(release): released [VERSION]'
```

打上 tag

Expand Down Expand Up @@ -135,4 +126,4 @@ git push --tags # 提交 tag
> 如果发布时参数检查失败,可以在`pod`命令前面加上 `COCOAPODS_VALIDATOR_SKIP_XCODEBUILD=1` 参数

* Android 发布到 [bintray](https://bintray.com/beta/#/hippy/Hippy/hippy-release?tab=overview)
在 Android Studio 中打开 `examples/android-demo` 项目,在`local.properties`添加`bintrayUser=[user]``bintrayKey=[key]`,其中`[user]``[key]` 分别对应用户在bintray的 `账号名``API key` ,添加完后字旁边的 Gradle 面板中运行 `android-demo` > `android-sdk` > `publishing` > `:android-sdk:bintrayUpload` 即可发布.
在 Android Studio 中打开 `examples/android-demo` 项目,在`local.properties`添加`bintrayUser=[user]``bintrayKey=[key]`,其中`[user]``[key]` 分别对应用户在bintray的 `账号名``API key` ,添加完后字旁边的 Gradle 面板中运行 `android-demo` > `android-sdk` > `publishing` > `:android-sdk:bintrayUpload` 即可发布
2 changes: 1 addition & 1 deletion android/sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ publish {
repoName = 'Hippy'
groupId = 'com.tencent.hippy'
artifactId = 'hippy-release'
publishVersion = '2.1.2'
publishVersion = '2.1.4'
dryRun = false
desc = 'Hippy library for Android'
website = 'https://github.com/Tencent/Hippy'
Expand Down
2 changes: 1 addition & 1 deletion core/napi/jsc/native-source-code-ios.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* js2cpp is maintenance by Hippy Team <[email protected]>
* Copyright © 2018-2020 Tencent. All rights reserved.
*
* Generated at Mon Nov 23 2020 21:28:26 GMT+0800 (GMT+08:00).
* Generated at Thu Dec 03 2020 15:25:40 GMT+0800 (China Standard Time).
* DO NOT EDIT IT.
*/
#include "core/napi/native-source-code.h"
Expand Down
2 changes: 1 addition & 1 deletion core/napi/v8/native-source-code-android.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* js2cpp is maintenance by Hippy Team <[email protected]>
* Copyright © 2018-2020 Tencent. All rights reserved.
*
* Generated at Mon Nov 23 2020 21:28:26 GMT+0800 (GMT+08:00).
* Generated at Thu Dec 03 2020 15:25:40 GMT+0800 (China Standard Time).
* DO NOT EDIT IT.
*/
#include "core/napi/native-source-code.h"
Expand Down
4 changes: 2 additions & 2 deletions examples/android-demo/res/index.android.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions examples/android-demo/res/vendor.android.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/ios-demo/res/index.ios.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions examples/ios-demo/res/vendor.ios.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion hippy.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'hippy'
s.version = '2.1.3'
s.version = '2.1.4'
s.summary = 'hippy lib for ios'

# This description is used to generate tags and improve search results.
Expand Down
2 changes: 1 addition & 1 deletion ios/sdk/base/HippyBridge.mm
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
NSString *const HippyJavaScriptDidFailToLoadNotification = @"HippyJavaScriptDidFailToLoadNotification";
NSString *const HippyDidInitializeModuleNotification = @"HippyDidInitializeModuleNotification";
NSString *const HippyBusinessDidLoadNotification = @"HippyBusinessDidLoadNotification";
NSString *const _HippySDKVersion = @"2.1.2";
NSString *const _HippySDKVersion = @"2.1.4";

static NSMutableArray<Class> *HippyModuleClasses;
NSArray<Class> *HippyGetModuleClasses(void)
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"packages": [
"packages/*"
],
"version": "2.1.2"
"version": "2.1.4"
}
17 changes: 17 additions & 0 deletions packages/hippy-react-web/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.1.4](https://github.com/Tencent/Hippy/tree/master/packages/hippy-react-web/compare/2.1.3...2.1.4) (2020-12-03)


### Bug Fixes

* **hippy-react-web:** suppress childContextTypes warning ([#431](https://github.com/Tencent/Hippy/tree/master/packages/hippy-react-web/issues/431)) ([4a7ba66](https://github.com/Tencent/Hippy/tree/master/packages/hippy-react-web/commit/4a7ba66fc7ada2ba0f4010ab49b4e24d1886bca2))


### Features

* **hippy-vue,hippy-react:** perf setNativeProps ([5cd1291](https://github.com/Tencent/Hippy/tree/master/packages/hippy-react-web/commit/5cd12910262ad3bb15d07c2dc974a829958a2b86))
* support isomorphic rendering ([#415](https://github.com/Tencent/Hippy/tree/master/packages/hippy-react-web/issues/415)) ([c131734](https://github.com/Tencent/Hippy/tree/master/packages/hippy-react-web/commit/c1317348bab9d38990decf7d39f0631d807ab9a5))





## [2.1.2](https://github.com/Tencent/Hippy/tree/master/packages/hippy-react-web/compare/2.1.1...2.1.2) (2020-11-23)

**Note:** Version bump only for package @hippy/react-web
Expand Down
2 changes: 1 addition & 1 deletion packages/hippy-react-web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/hippy-react-web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hippy/react-web",
"version": "2.1.2",
"version": "2.1.4",
"description": "Web Adapter for Hippy React",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
17 changes: 17 additions & 0 deletions packages/hippy-react/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.1.4](https://github.com/Tencent/Hippy/tree/master/packages/hippy-react/compare/2.1.3...2.1.4) (2020-12-03)


### Bug Fixes

* **hippy-react:** fix pullHeader and pullFooter ([#420](https://github.com/Tencent/Hippy/tree/master/packages/hippy-react/issues/420)) ([abfc574](https://github.com/Tencent/Hippy/tree/master/packages/hippy-react/commit/abfc57401951acca4fb3fea72456784efcd4e926))


### Features

* **hippy-vue,hippy-react:** added setNativeProps on element ([#430](https://github.com/Tencent/Hippy/tree/master/packages/hippy-react/issues/430)) ([d1f7e21](https://github.com/Tencent/Hippy/tree/master/packages/hippy-react/commit/d1f7e216b5fef46ace0cf50803ad2940b429a0d6))
* **hippy-vue,hippy-react:** perf setNativeProps ([5cd1291](https://github.com/Tencent/Hippy/tree/master/packages/hippy-react/commit/5cd12910262ad3bb15d07c2dc974a829958a2b86))





## [2.1.2](https://github.com/Tencent/Hippy/tree/master/packages/hippy-react/compare/2.1.1...2.1.2) (2020-11-23)


Expand Down
2 changes: 1 addition & 1 deletion packages/hippy-react/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/hippy-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hippy/react",
"version": "2.1.2",
"version": "2.1.4",
"description": "Hippy react framework",
"main": "dist/index.js",
"homepage": "http://hippyjs.org",
Expand Down
12 changes: 12 additions & 0 deletions packages/hippy-vue/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.1.4](https://github.com/Tencent/Hippy/tree/master/packages/hippy-vue/compare/2.1.3...2.1.4) (2020-12-03)


### Features

* **hippy-vue,hippy-react:** added setNativeProps on element ([#430](https://github.com/Tencent/Hippy/tree/master/packages/hippy-vue/issues/430)) ([d1f7e21](https://github.com/Tencent/Hippy/tree/master/packages/hippy-vue/commit/d1f7e216b5fef46ace0cf50803ad2940b429a0d6))
* **hippy-vue,hippy-react:** perf setNativeProps ([5cd1291](https://github.com/Tencent/Hippy/tree/master/packages/hippy-vue/commit/5cd12910262ad3bb15d07c2dc974a829958a2b86))





## [2.1.2](https://github.com/Tencent/Hippy/tree/master/packages/hippy-vue/compare/2.1.1...2.1.2) (2020-11-23)


Expand Down
2 changes: 1 addition & 1 deletion packages/hippy-vue/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/hippy-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hippy/vue",
"version": "2.1.2",
"version": "2.1.4",
"description": "Vue binding for Hippy native framework",
"author": "XQ Kuang <[email protected]>",
"license": "Apache-2.0",
Expand Down

0 comments on commit 393b023

Please sign in to comment.