Make Compose-Switch version dynamic (#13922)

* Make Compose-Switch version dynamic

Fixes https://github.com/docker/docker.github.io/issues/13914

* Update cli-command.md

Fix typo by remove unneeded parenthesis.

* Updating to the latest version

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
This commit is contained in:
Jim Flattery 2021-12-17 05:39:27 -05:00 committed by GitHub
parent 8e925f8a6e
commit 0ead2583b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -27,6 +27,7 @@ compose_file_v3: "3.9"
compose_file_v2: "2.4"
machine_version: "0.16.0"
distribution_version: "2.7"
compose_switch_version: "1.0.4"
# List of plugins to enable for local development builds. Mostly the same as
# for production, but without the "jekyll-sitemap" plugin, which is not needed

View File

@ -112,7 +112,7 @@ To install Compose Switch manually:
1. Download the `compose-switch` binary for your architecture
```console
$ curl -fL https://github.com/docker/compose-switch/releases/download/v1.0.1/docker-compose-linux-amd64 -o /usr/local/bin/compose-switch
$ curl -fL https://github.com/docker/compose-switch/releases/download/v{{site.compose_switch_version}}/docker-compose-linux-amd64 -o /usr/local/bin/compose-switch
```
2. Run the following command to make it an executable: