File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2+
3+ # COSCALE_APPID=00248f3b-294f-4adc-94eb-33c72b1d0a95 COSCALE_TOKEN=b7672983-078d-4f3d-b8c5-731f76b0786c bash -c "$(curl -L https://raw.githubusercontent.com/CoScale/coscale-cli/feature/install-script/install.sh)"
4+
25set -u
36set -e
47
1821
1922# Fetch latest release list from Github
2023echo " Getting latest release information"
21- github_data=` curl -s -L https://api.github.com/repos/CoScale/coscale-cli/releases/latest | python -c ' import json,sys;obj=json.load(sys.stdin); releases = [release[ "browser_download_url"] for release in obj["assets"]]; print "\n".join(releases) ' `
24+ github_data=` curl -s -L https://api.github.com/repos/CoScale/coscale-cli/releases/latest | grep " browser_download_url" | awk ' { print $2; } ' | sed ' s/"//g ' `
2225
2326# Detect operation system
2427echo " Detecting operation system"
@@ -51,5 +54,5 @@ echo "Testing configuration"
5154coscale-cli event list
5255
5356# Done
54- echo " Done, you can now start using the CoScale CLI tool"
57+ echo " Done, you can now start using the CoScale CLI tool. "
5558popd
You can’t perform that action at this time.
0 commit comments