Skip to content

Commit e4d70a7

Browse files
Update CLI version to point to 2.32.13
1 parent 763a352 commit e4d70a7

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Sources/ApolloCodegenLib/CLIDownloader.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ struct CLIDownloader {
3030
}
3131

3232
/// The URL string for getting the current version of the CLI
33-
static let downloadURLString = "https://install.apollographql.com/legacy-cli/darwin/2.32.1"
33+
static let downloadURLString = "https://install.apollographql.com/legacy-cli/darwin/2.32.13"
3434

3535
/// Downloads the appropriate Apollo CLI in a zip file.
3636
///

Sources/ApolloCodegenLib/CLIExtractor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ struct CLIExtractor {
2525
}
2626
}
2727

28-
static let expectedSHASUM = "ff50f341f09fe7ef8e125412fb14f0f3359ac0adfb7864cf2a9c8a99d5a7e6e5"
28+
static let expectedSHASUM = "da96984c487478113829d31e13245e8cfed9957d0373fa6f00d6a451d459d063"
2929

3030
/// Checks to see if the CLI has already been extracted and is the correct version, and extracts or re-extracts as necessary
3131
///

scripts/run-bundled-codegen.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ SCRIPT_DIR="$(dirname "$0")"
1111

1212
# Get the SHASUM of the tarball
1313
ZIP_FILE="${SCRIPT_DIR}/apollo.tar.gz"
14-
ZIP_FILE_DOWNLOAD_URL="https://install.apollographql.com/legacy-cli/darwin/2.32.1"
14+
ZIP_FILE_DOWNLOAD_URL="https://install.apollographql.com/legacy-cli/darwin/2.32.13"
1515
SHASUM_FILE="${SCRIPT_DIR}/apollo/.shasum"
1616
APOLLO_DIR="${SCRIPT_DIR}"/apollo
1717
IS_RETRY="false"
@@ -58,7 +58,7 @@ extract_cli() {
5858

5959
validate_codegen_and_extract_if_needed() {
6060
# Make sure the SHASUM matches the release for this version
61-
EXPECTED_SHASUM="ff50f341f09fe7ef8e125412fb14f0f3359ac0adfb7864cf2a9c8a99d5a7e6e5"
61+
EXPECTED_SHASUM="da96984c487478113829d31e13245e8cfed9957d0373fa6f00d6a451d459d063"
6262
update_shasum
6363

6464
if [[ ${SHASUM} = ${EXPECTED_SHASUM}* ]]; then

0 commit comments

Comments
 (0)