Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InstallCLI Plugin Updates #132

Merged
merged 14 commits into from Jan 12, 2024
Merged

InstallCLI Plugin Updates #132

merged 14 commits into from Jan 12, 2024

Conversation

BobaFetters
Copy link
Member

  • Updating the InstallCLI plugin to download the proper CLI version from GitHub based on the package version being used.
  • Added a download-cli.sh script which handles most of the work for the plugin now

@AnthonyMDev @calvincestari I have tested this in an SPM based project and an Xcode Project and everything appears to be working but would appreciate a little extra scrutiny just to make sure I didn't overlook a possible use case. There is a cli-plugin-update branch on apollo-ios that can be targeted for the SPM dependency to test this.

Copy link
Member

@calvincestari calvincestari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks good, just a few comments for us to mull over.

apollo-ios/Package.swift Show resolved Hide resolved
apollo-ios/Package.swift Outdated Show resolved Hide resolved
Copy link
Contributor

@AnthonyMDev AnthonyMDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome! Thanks @BobaFetters!

@BobaFetters BobaFetters requested a review from a team as a code owner November 15, 2023 18:13
@BobaFetters
Copy link
Member Author

Going to hold off on merging this in until we are ready for the 1.8 release since its going to require using Xcode 15.

Copy link

netlify bot commented Jan 12, 2024

Deploy Preview for eclectic-pie-88a2ba ready!

Name Link
🔨 Latest commit e561e2f
🔍 Latest deploy log https://app.netlify.com/sites/eclectic-pie-88a2ba/deploys/65a1b2d745ef1500082b5049
😎 Deploy Preview https://deploy-preview-132--eclectic-pie-88a2ba.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@calvincestari calvincestari enabled auto-merge (squash) January 12, 2024 21:45
@calvincestari calvincestari merged commit 4febdce into main Jan 12, 2024
11 of 14 checks passed
@calvincestari calvincestari deleted the cli-plugin-update branch January 12, 2024 21:45
BobaFetters added a commit that referenced this pull request Jan 12, 2024
BobaFetters added a commit to apollographql/apollo-ios that referenced this pull request Jan 12, 2024
BobaFetters pushed a commit that referenced this pull request Jan 12, 2024
f806167 InstallCLI Plugin Updates (#132)

git-subtree-dir: apollo-ios
git-subtree-split: f806167
BobaFetters pushed a commit that referenced this pull request Jan 12, 2024
git-subtree-dir: apollo-ios
git-subtree-mainline: 1735820
git-subtree-split: f806167
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants