Skip to content

Commit

Permalink
Update version number to v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
huangzhhui committed Oct 6, 2022
1 parent fe51295 commit c538a61
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions README-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Box 致力于帮助提升 Hyperf 应用程序的编程体验,管理 PHP 环境
##### Mac

```bash
wget https://github.com/hyperf/box/releases/download/v0.3.0/box_x86_64_macos -O box
wget https://github.com/hyperf/box/releases/download/v0.4.0/box_x86_64_macos -O box
sudo mv ./box /usr/local/bin/box
sudo chmod 755 /usr/local/bin/box
// 确保 /usr/local/bin/box 在你的 $PATH 环境中,或者将 `box` 放到你想要的任意 $PATH 路径中
Expand All @@ -22,7 +22,7 @@ sudo chmod 755 /usr/local/bin/box
##### Linux x86_64

```bash
wget https://github.com/hyperf/box/releases/download/v0.3.0/box_x86_64_linux -O box
wget https://github.com/hyperf/box/releases/download/v0.4.0/box_x86_64_linux -O box
sudo mv ./box /usr/local/bin/box
sudo chmod 755 /usr/local/bin/box
// 确保 /usr/local/bin/box 在你的 $PATH 环境中,或者将 `box` 放到你想要的任意 $PATH 路径中
Expand Down Expand Up @@ -64,6 +64,7 @@ box config set kernel swoole
- `box build-prepare``build``build-self` 命令做好相关环境的准备
- `box build-self` 构建 `box` bin 本身
- `box build <path>` 将 Hyperf 应用程序构建成二进制文件
- `box self-update``box` bin 更新至最新版本
- `box config list` 输出 box 配置文件的所有内容
- `box config get <key>` 从配置文件中按键检索值
- `box config set <key> <value>`通过 key 设置 value 到配置文件中
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Box is committed to helping improve the programming experience of Hyperf applica
##### Mac

```bash
wget https://github.com/hyperf/box/releases/download/v0.3.0/box_x86_64_macos -O box
wget https://github.com/hyperf/box/releases/download/v0.4.0/box_x86_64_macos -O box
sudo mv ./box /usr/local/bin/box
sudo chmod 755 /usr/local/bin/box
// Make sure /usr/local/bin/box in your $PATH env, or put `box` into any path in $PATH env that you want
Expand All @@ -22,7 +22,7 @@ sudo chmod 755 /usr/local/bin/box
##### Linux x86_64

```bash
wget https://github.com/hyperf/box/releases/download/v0.3.0/box_x86_64_linux -O box
wget https://github.com/hyperf/box/releases/download/v0.4.0/box_x86_64_linux -O box
sudo mv ./box /usr/local/bin/box
sudo chmod 755 /usr/local/bin/box
// Make sure /usr/local/bin/box in your $PATH env, or put `box` into any path in $PATH env that you want
Expand Down Expand Up @@ -64,6 +64,7 @@ box config set kernel swoole
- `box build-prepare` to get ready for `build` and `build-self` command
- `box build-self` to build the `box` bin itself
- `box build <path>` to build a Hyperf application into a binary file
- `box self-update` to update the `box` bin to latest version
- `box config list` to dump the config file
- `box config get <key>` to retrieve the value by key from config file
- `box config set <key> <value>` to set value by key into the config file
Expand Down
2 changes: 1 addition & 1 deletion src/app/Box.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@

class Box
{
public const VERSION = '0.3.0';
public const VERSION = '0.4.0';
}

0 comments on commit c538a61

Please sign in to comment.