diff --git a/.travis.yml b/.travis.yml index b2aa4d3..523b6e3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,10 +27,9 @@ script: deploy: provider: releases - api_key: - secure: ${GITHUB_TOKEN} + token: ${GITHUB_TOKEN} file_glob: true file: dist/* - skip_cleanup: true + cleanup: false on: tags: true diff --git a/CHANGELOG.md b/CHANGELOG.md index a9db9b8..8ba8b82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ + +## [0.7.0] - 2020-04-21 +### Docs +- update readme + +### Feat +- update mod dep +- add support `gdb` + + +## [0.6.3] - 2019-12-15 +### Fix +- check container is running +- update change log + ## [0.6.2] - 2019-06-20 ### Doc @@ -179,7 +194,9 @@ - ignore add more -[Unreleased]: https://github.com/zeromake/docker-debug/compare/0.6.2...HEAD +[Unreleased]: https://github.com/zeromake/docker-debug/compare/0.7.0...HEAD +[0.7.0]: https://github.com/zeromake/docker-debug/compare/0.6.3...0.7.0 +[0.6.3]: https://github.com/zeromake/docker-debug/compare/0.6.2...0.6.3 [0.6.2]: https://github.com/zeromake/docker-debug/compare/0.6.1...0.6.2 [0.6.1]: https://github.com/zeromake/docker-debug/compare/0.6.0...0.6.1 [0.6.0]: https://github.com/zeromake/docker-debug/compare/0.5.2...0.6.0 diff --git a/README-zh-Hans.md b/README-zh-Hans.md index c3b6119..e0c0f34 100644 --- a/README-zh-Hans.md +++ b/README-zh-Hans.md @@ -26,16 +26,16 @@ brew install docker-debug **下载二进制文件** ``` shell # MacOS -curl -Lo docker-debug https://github.com/zeromake/docker-debug/releases/download/0.6.3/docker-debug-darwin-amd64 +curl -Lo docker-debug https://github.com/zeromake/docker-debug/releases/download/0.7.0/docker-debug-darwin-amd64 # Linux -curl -Lo docker-debug https://github.com/zeromake/docker-debug/releases/download/0.6.3/docker-debug-linux-amd64 +curl -Lo docker-debug https://github.com/zeromake/docker-debug/releases/download/0.7.0/docker-debug-linux-amd64 chmod +x ./docker-debug sudo mv docker-debug /usr/local/bin/ # Windows -curl -Lo docker-debug.exe https://github.com/zeromake/docker-debug/releases/download/0.6.3/docker-debug-windows-amd64.exe +curl -Lo docker-debug.exe https://github.com/zeromake/docker-debug/releases/download/0.7.0/docker-debug-windows-amd64.exe ``` 或者到 [release page](https://github.com/zeromake/docker-debug/releases/lastest) 下载最新可执行文件并添加到 PATH。 @@ -64,7 +64,7 @@ docker-debug 使用 `nicolaka/netshoot` 作为默认镜像来运行额外容器 你可以通过命令行 `flag(--image)` 覆盖默认镜像,或者直接修改配置文件 `~/.docker-debug/config.toml` 中的 `image`。 ``` toml # 配置文件版本号 -version = "0.6.3" +version = "0.7.0" # 目标容器文件系统挂载点 mount_dir = "/mnt/container" # 默认镜像 diff --git a/README.md b/README.md index 833e373..c6a83ad 100644 --- a/README.md +++ b/README.md @@ -27,16 +27,16 @@ brew install docker-debug **download binary file** ``` shell # MacOS -curl -Lo docker-debug https://github.com/zeromake/docker-debug/releases/download/0.6.3/docker-debug-darwin-amd64 +curl -Lo docker-debug https://github.com/zeromake/docker-debug/releases/download/0.7.0/docker-debug-darwin-amd64 # Linux -curl -Lo docker-debug https://github.com/zeromake/docker-debug/releases/download/0.6.3/docker-debug-linux-amd64 +curl -Lo docker-debug https://github.com/zeromake/docker-debug/releases/download/0.7.0/docker-debug-linux-amd64 chmod +x ./docker-debug sudo mv docker-debug /usr/local/bin/ # Windows -curl -Lo docker-debug.exe https://github.com/zeromake/docker-debug/releases/download/0.6.3/docker-debug-windows-amd64.exe +curl -Lo docker-debug.exe https://github.com/zeromake/docker-debug/releases/download/0.7.0/docker-debug-windows-amd64.exe ``` download the latest binary from the [release page](https://github.com/zeromake/docker-debug/releases/lastest) and add it to your PATH. @@ -64,7 +64,7 @@ mv docker-debug /usr/local/bin docker-debug uses nicolaka/netshoot as the default image to run debug container. You can override the default image with cli flag, or even better, with config file ~/.docker-debug/config.toml ``` toml -version = "0.6.3" +version = "0.7.0" image = "nicolaka/netshoot:latest" mount_dir = "/mnt/container" timeout = 10000000000