Skip to content

Commit

Permalink
feat(v1.3.6): bump v1.3.6
Browse files Browse the repository at this point in the history
bump v1.3.6

Signed-off-by: mritd <[email protected]>
  • Loading branch information
mritd committed Jun 25, 2019
1 parent f57abe6 commit a1f4310
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ all:
-output="dist/{{.Dir}}_{{.OS}}_{{.Arch}}" \
-ldflags "-X 'github.com/mritd/mmh/cmd.Version=${BUILD_VERSION}' \
-X 'github.com/mritd/mmh/cmd.BuildDate=${BUILD_DATE}' \
-X 'github.com/mritd/mmh/cmd.CommitID=${COMMIT_SHA1}' \
-w -s"
-X 'github.com/mritd/mmh/cmd.CommitID=${COMMIT_SHA1}'"

release: all
ghr -u mritd -t $(GITHUB_RELEASE_TOKEN) -replace -recreate --debug ${BUILD_VERSION} dist
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ Flags:

### 多环境切换

考虑到同时将多个环境的配置放在同一个配置文件中会有混乱,同时也可能出现误操作的情况,`v1.3.0` 版本增加了 `context` 的概念;每个 `context` 被认为是一种环境,比如 `prod`、`test`、`uat` 等,每个环境的机器配置被分成了独立的文件以方便单独修改与加载;控制使用哪个 `context` 可以使用 `mcx use CONTEXT_NAME` 命令
考虑到同时将多个环境的配置放在同一个配置文件中会有混乱,同时也可能出现误操作的情况,`v1.3.0` 版本增加了 `context` 的概念;每个 `context` 被认为是一种环境,比如 `prod`、`test`、`uat` 等,每个环境的机器配置被分成了独立的文件以方便单独修改与加载;控制使用哪个 `context` 可以使用 `mcx set CONTEXT_NAME` 命令

``` sh
➜ ~ mcx --help
Expand All @@ -203,7 +203,7 @@ Aliases:
Available Commands:
help Help about any command
ls List context
use Use context
set Set context
Flags:
-h, --help help for ctx
Expand Down

0 comments on commit a1f4310

Please sign in to comment.