File tree Expand file tree Collapse file tree 1 file changed +13
-20
lines changed Expand file tree Collapse file tree 1 file changed +13
-20
lines changed Original file line number Diff line number Diff line change 11[tools ]
2- docker-compose = " 2.33.0"
32node = " v20"
43python = " 3.10.12"
54yarn = { version = " 4.3.1" }
@@ -8,6 +7,19 @@ k9s = "0.31.9"
87kubectl = " 1.29.2"
98skaffold = " 2.10.1"
109sops = " 3.8.1"
10+ docker-compose = " 2.40.3"
11+
12+ [hooks ]
13+ postinstall = '''
14+ install_dir="$HOME/.local/share/mise/installs/docker-compose"
15+ if [ ! -d "$install_dir" ]; then
16+ exit 0
17+ fi
18+ version="2.40.3"
19+ if [ -d "$install_dir/$version" ]; then
20+ ln -sf docker-cli-plugin-docker-compose "$install_dir/$version/docker-compose"
21+ fi
22+ '''
1123
1224[tasks .init ]
1325description = " Copy missing starter configuration files"
@@ -97,22 +109,3 @@ run = './scripts/undo-release'
97109[tasks .gh-release ]
98110description = " Trigger the release workflow"
99111run = ' gh workflow run release.yml'
100-
101- [hooks ]
102- postinstall = '''
103- #!/usr/bin/env bash
104- set -euo pipefail
105-
106- version="$(mise current docker-compose 2>/dev/null || true)"
107- if [ -z "$version" ]; then
108- exit 0
109- fi
110-
111- dir="$HOME/.local/share/mise/installs/docker-compose/$version"
112- if [ -d "$dir" ]; then
113- ln -sf docker-cli-plugin-docker-compose "$dir/docker-compose"
114- fi
115- '''
116-
117- [settings ]
118- experimental = true
You can’t perform that action at this time.
0 commit comments