diff --git a/Sources/ApolloCodegenLib/CLIDownloader.swift b/Sources/ApolloCodegenLib/CLIDownloader.swift index eb5f2abf5d..2a91970898 100644 --- a/Sources/ApolloCodegenLib/CLIDownloader.swift +++ b/Sources/ApolloCodegenLib/CLIDownloader.swift @@ -30,7 +30,7 @@ struct CLIDownloader { } /// The URL string for getting the current version of the CLI - static let downloadURLString = "https://install.apollographql.com/legacy-cli/darwin/2.32.13" + static let downloadURLString = "https://install.apollographql.com/legacy-cli/darwin/2.33.6" /// Downloads the appropriate Apollo CLI in a zip file. /// diff --git a/Sources/ApolloCodegenLib/CLIExtractor.swift b/Sources/ApolloCodegenLib/CLIExtractor.swift index c51ae107cd..c9674697ab 100644 --- a/Sources/ApolloCodegenLib/CLIExtractor.swift +++ b/Sources/ApolloCodegenLib/CLIExtractor.swift @@ -25,7 +25,7 @@ struct CLIExtractor { } } - static let expectedSHASUM = "da96984c487478113829d31e13245e8cfed9957d0373fa6f00d6a451d459d063" + static let expectedSHASUM = "496b4de6a4a1f5a1c4a093c8d2378054ebf0dc19361a7dad847f82feeccad2be" /// Checks to see if the CLI has already been extracted and is the correct version, and extracts or re-extracts as necessary /// diff --git a/scripts/run-bundled-codegen.sh b/scripts/run-bundled-codegen.sh index 6e650a360b..04799496a3 100755 --- a/scripts/run-bundled-codegen.sh +++ b/scripts/run-bundled-codegen.sh @@ -11,7 +11,7 @@ SCRIPT_DIR="$(dirname "$0")" # Get the SHASUM of the tarball ZIP_FILE="${SCRIPT_DIR}/apollo.tar.gz" -ZIP_FILE_DOWNLOAD_URL="https://install.apollographql.com/legacy-cli/darwin/2.32.13" +ZIP_FILE_DOWNLOAD_URL="https://install.apollographql.com/legacy-cli/darwin/2.33.6" SHASUM_FILE="${SCRIPT_DIR}/apollo/.shasum" APOLLO_DIR="${SCRIPT_DIR}"/apollo IS_RETRY="false" @@ -58,7 +58,7 @@ extract_cli() { validate_codegen_and_extract_if_needed() { # Make sure the SHASUM matches the release for this version - EXPECTED_SHASUM="da96984c487478113829d31e13245e8cfed9957d0373fa6f00d6a451d459d063" + EXPECTED_SHASUM="496b4de6a4a1f5a1c4a093c8d2378054ebf0dc19361a7dad847f82feeccad2be" update_shasum if [[ ${SHASUM} = ${EXPECTED_SHASUM}* ]]; then