Update README and bump the version

main v0.1.2
William Beuil 2021-03-05 18:32:51 +01:00
parent 259a23fe9f
commit 6cbb21a214
No known key found for this signature in database
GPG Key ID: BED2072C5C2BF537
2 changed files with 11 additions and 1 deletions

View File

@ -54,6 +54,11 @@ $ git pull
Install a specific version of driftctl. 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 ```console
$ dctlenv install 0.2.3 $ dctlenv install 0.2.3
Installing driftctl v0.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. 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 ```console
$ dctlenv use 0.2.3 $ dctlenv use 0.2.3
Switching version to v0.2.3 Switching version to v0.2.3

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -uo pipefail set -uo pipefail
version="0.1.1" version="0.1.2"
git_revision="" git_revision=""
if cd "${BASH_SOURCE%/*}" 2>/dev/null && git remote -v 2>/dev/null | grep -q dctlenv; then if cd "${BASH_SOURCE%/*}" 2>/dev/null && git remote -v 2>/dev/null | grep -q dctlenv; then