diff --git a/README.md b/README.md index 79b9ac6..3846c02 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,11 @@ $ git pull Install a specific version of driftctl. +Available options: + +- `x.y.z` to install the exact version of driftctl +- `latest` to install the latest version of driftctl + ```console $ dctlenv install 0.2.3 Installing driftctl v0.2.3 @@ -95,6 +100,11 @@ Installation of driftctl v0.4.0 successful. To make this your default version, r Switch a version to use. +Available options: + +- `x.y.z` to install and use the exact version of driftctl +- `latest` to install and use the latest version of driftctl + ```console $ dctlenv use 0.2.3 Switching version to v0.2.3 diff --git a/libexec/dctlenv-version b/libexec/dctlenv-version index 4811f2b..c5ee4e2 100755 --- a/libexec/dctlenv-version +++ b/libexec/dctlenv-version @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -uo pipefail -version="0.1.1" +version="0.1.2" git_revision="" if cd "${BASH_SOURCE%/*}" 2>/dev/null && git remote -v 2>/dev/null | grep -q dctlenv; then