Closed binnes closed 2 years ago
URL built in scripts/setup-igc.sh
needs to add the arch after the type:
"${SCRIPT_DIR}/setup-binary.sh" "${DEST_DIR}" "${CLI_NAME}" "https://github.com/cloud-native-toolkit/ibm-garage-cloud-cli/releases/download/${RELEASE}/igc-${TYPE}" --version
script/setup-igc.sh script doesn't use the ARCH argument passed from setup-binary.sh, so on an M1 Mac the igc-macos binary is installed, which is the incorrect binary
Implementation note: Can't just use the arch argument, as need to sync up the script creating the igc binaries and this script, as the script uses ARCH amd64 for x86_64, but the binary is igc-macos-x64