Skip to content

Commit b893f36

Browse files
Merge pull request #1195 from apollographql/update/cli
Update to version 2.27.4 of the CLI
2 parents 81f2812 + 7d47492 commit b893f36

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.27.2"
33+
static let downloadURLString = "https://install.apollographql.com/legacy-cli/darwin/2.27.4"
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 = "08c45258b7cc1d4e6e28288930428922fd7dee9ccaad6e5be17dd5b79e6b1af4"
28+
static let expectedSHASUM = "0b11aa7973afed9a6b66fbff8c4a09421068a3fe0f50975f7c5d4ca791236b0c"
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.27.2"
14+
ZIP_FILE_DOWNLOAD_URL="https://install.apollographql.com/legacy-cli/darwin/2.27.4"
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="08c45258b7cc1d4e6e28288930428922fd7dee9ccaad6e5be17dd5b79e6b1af4"
61+
EXPECTED_SHASUM="0b11aa7973afed9a6b66fbff8c4a09421068a3fe0f50975f7c5d4ca791236b0c"
6262
update_shasum
6363

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

0 commit comments

Comments
 (0)