Skip to content

Commit fb054bf

Browse files
Update to version 2.33.6 of the CLI to get some new vulnerability patches (#1929)
1 parent 10ee2d0 commit fb054bf

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.13"
33+
static let downloadURLString = "https://install.apollographql.com/legacy-cli/darwin/2.33.6"
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 = "da96984c487478113829d31e13245e8cfed9957d0373fa6f00d6a451d459d063"
28+
static let expectedSHASUM = "496b4de6a4a1f5a1c4a093c8d2378054ebf0dc19361a7dad847f82feeccad2be"
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.13"
14+
ZIP_FILE_DOWNLOAD_URL="https://install.apollographql.com/legacy-cli/darwin/2.33.6"
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="da96984c487478113829d31e13245e8cfed9957d0373fa6f00d6a451d459d063"
61+
EXPECTED_SHASUM="496b4de6a4a1f5a1c4a093c8d2378054ebf0dc19361a7dad847f82feeccad2be"
6262
update_shasum
6363

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

0 commit comments

Comments
 (0)