Skip to content

Commit 8caad27

Browse files
authored
Merge pull request #46 from huangzhhui/release-v0.4.0
Release v0.4.0
2 parents fe51295 + c538a61 commit 8caad27

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

README-CN.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Box 致力于帮助提升 Hyperf 应用程序的编程体验,管理 PHP 环境
1313
##### Mac
1414

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

2424
```bash
25-
wget https://github.com/hyperf/box/releases/download/v0.3.0/box_x86_64_linux -O box
25+
wget https://github.com/hyperf/box/releases/download/v0.4.0/box_x86_64_linux -O box
2626
sudo mv ./box /usr/local/bin/box
2727
sudo chmod 755 /usr/local/bin/box
2828
// 确保 /usr/local/bin/box 在你的 $PATH 环境中,或者将 `box` 放到你想要的任意 $PATH 路径中
@@ -64,6 +64,7 @@ box config set kernel swoole
6464
- `box build-prepare``build``build-self` 命令做好相关环境的准备
6565
- `box build-self` 构建 `box` bin 本身
6666
- `box build <path>` 将 Hyperf 应用程序构建成二进制文件
67+
- `box self-update``box` bin 更新至最新版本
6768
- `box config list` 输出 box 配置文件的所有内容
6869
- `box config get <key>` 从配置文件中按键检索值
6970
- `box config set <key> <value>`通过 key 设置 value 到配置文件中

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Box is committed to helping improve the programming experience of Hyperf applica
1313
##### Mac
1414

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

2424
```bash
25-
wget https://github.com/hyperf/box/releases/download/v0.3.0/box_x86_64_linux -O box
25+
wget https://github.com/hyperf/box/releases/download/v0.4.0/box_x86_64_linux -O box
2626
sudo mv ./box /usr/local/bin/box
2727
sudo chmod 755 /usr/local/bin/box
2828
// Make sure /usr/local/bin/box in your $PATH env, or put `box` into any path in $PATH env that you want
@@ -64,6 +64,7 @@ box config set kernel swoole
6464
- `box build-prepare` to get ready for `build` and `build-self` command
6565
- `box build-self` to build the `box` bin itself
6666
- `box build <path>` to build a Hyperf application into a binary file
67+
- `box self-update` to update the `box` bin to latest version
6768
- `box config list` to dump the config file
6869
- `box config get <key>` to retrieve the value by key from config file
6970
- `box config set <key> <value>` to set value by key into the config file

src/app/Box.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414

1515
class Box
1616
{
17-
public const VERSION = '0.3.0';
17+
public const VERSION = '0.4.0';
1818
}

0 commit comments

Comments
 (0)