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 44VERSION=$( curl --silent " https://api.github.com/repos/codefresh-io/cli-v2/releases/latest" | grep ' "tag_name"' | sed -E ' s/.*"([^"]+)".*/\1/' )
55
66# 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
88
99# move the binary to your $PATH
1010mv ./cf-* /usr/local/bin/cf
@@ -19,7 +19,7 @@ cf version
1919VERSION=$( curl --silent " https://api.github.com/repos/codefresh-io/cli-v2/releases/latest" | grep ' "tag_name"' | sed -E ' s/.*"([^"]+)".*/\1/' )
2020
2121# 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
2323
2424# move the binary to your $PATH
2525mv ./cf-* /usr/local/bin/cf
You can’t perform that action at this time.
0 commit comments