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

feat(shorebird_cli): add shorebird flutter version use #1070

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

felangel
Copy link
Contributor

@felangel felangel commented Aug 8, 2023

Description

change.shorebird.flutter.version.mp4

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

@felangel felangel self-assigned this Aug 8, 2023
@codecov
Copy link

codecov bot commented Aug 8, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (e21c104) 100.00% compared to head (a1f7a53) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #1070   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           86        87    +1     
  Lines         3214      3244   +30     
=========================================
+ Hits          3214      3244   +30     
Files Changed Coverage Δ
...nds/flutter/versions/flutter_versions_command.dart 100.00% <100.00%> (ø)
...flutter/versions/flutter_versions_use_command.dart 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@bryanoltman bryanoltman left a comment

Choose a reason for hiding this comment

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

Looks great!

if (!versions.contains(version)) {
logger.err('''
Version $version not found.
Use `shorebird flutter versions list` to list available versions.''');
Copy link
Contributor

Choose a reason for hiding this comment

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

What do you think about including a link to our feature request template to tell people they can request specific versions?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah yeah great call! Will do in the next PR if that's cool 👍

@felangel felangel merged commit 6e44d02 into main Aug 8, 2023
@felangel felangel deleted the feat/shorebird-flutter-version-use branch August 8, 2023 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: shorebird should support switching flutter versions
2 participants