Skip to content

Commit

Permalink
Update to CDN and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
designatednerd committed May 1, 2020
1 parent cacc9d1 commit 751b2ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Configuration/Shared/Project-Version.xcconfig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
CURRENT_PROJECT_VERSION = 0.22.0
CURRENT_PROJECT_VERSION = 0.22.1
5 changes: 3 additions & 2 deletions scripts/run-bundled-codegen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ SCRIPT_DIR="$(dirname "$0")"

# Get the SHASUM of the tarball
ZIP_FILE="${SCRIPT_DIR}/apollo.tar.gz"
ZIP_FILE_DOWNLOAD_URL="https://41516-65563448-gh.circle-artifacts.com/0/oclif-pack/apollo-v2.22.1/apollo-v2.22.1-darwin-x64.tar.gz"
ZIP_FILE_DOWNLOAD_URL="https://install.apollographql.com/legacy-cli/darwin/2.22.1"

SHASUM_FILE="${SCRIPT_DIR}/apollo/.shasum"
APOLLO_DIR="${SCRIPT_DIR}"/apollo
IS_RETRY="false"
Expand All @@ -26,7 +27,7 @@ download_apollo_cli_if_needed() {

download_cli() {
echo "Downloading zip file with the CLI..."
curl --silent --retry 3 --fail --show-error "${ZIP_FILE_DOWNLOAD_URL}" -o "${ZIP_FILE}"
curl --silent -L --retry 3 --fail --show-error "${ZIP_FILE_DOWNLOAD_URL}" -o "${ZIP_FILE}"
}

force_cli_download() {
Expand Down

0 comments on commit 751b2ba

Please sign in to comment.