File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4
4
VERSION=$( curl --silent " https://api.github.com/repos/codefresh-io/cli-v2/releases/latest" | grep ' "tag_name"' | sed -E ' s/.*"([^"]+)".*/\1/' )
5
5
6
6
# download and extract the binary
7
- curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/$VERSION /cli-v2 -linux-amd64.tar.gz | tar zx
7
+ curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/$VERSION /cf -linux-amd64.tar.gz | tar zx
8
8
9
9
# move the binary to your $PATH
10
10
mv ./cf-* /usr/local/bin/cf
@@ -19,7 +19,7 @@ cf version
19
19
VERSION=$( curl --silent " https://api.github.com/repos/codefresh-io/cli-v2/releases/latest" | grep ' "tag_name"' | sed -E ' s/.*"([^"]+)".*/\1/' )
20
20
21
21
# download and extract the binary
22
- curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/$VERSION /cli-v2 -darwin-amd64.tar.gz | tar zx
22
+ curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/$VERSION /cf -darwin-amd64.tar.gz | tar zx
23
23
24
24
# move the binary to your $PATH
25
25
mv ./cf-* /usr/local/bin/cf
You can’t perform that action at this time.
0 commit comments