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

Fix flutter build ipa --export-method not accepting enterprise flag #153047

Merged

Conversation

LouiseHsu
Copy link
Contributor

@LouiseHsu LouiseHsu commented Aug 7, 2024

When implementing the fix for #149369, I missed accounting for the enterprise flag for flutter build ipa 😬

Fixes #153000

Pre-launch Checklist

  • I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
  • I read the [Tree Hygiene] wiki page, which explains my responsibilities.
  • I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
  • I signed the [CLA].
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is [test-exempt].
  • I followed the [breaking change policy] and added [Data Driven Fixes] where supported.
  • All existing and new tests are passing.

@github-actions github-actions bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Aug 7, 2024
@LouiseHsu LouiseHsu requested a review from jmagman August 7, 2024 19:01
@LouiseHsu LouiseHsu marked this pull request as ready for review August 7, 2024 19:01
@@ -599,6 599,8 @@ class BuildIOSArchiveCommand extends _BuildIOSSubCommand {
return 'release-testing';
case 'development':
return 'debugging';
case 'enterprise':
Copy link
Member

Choose a reason for hiding this comment

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

Instead of throwing can the default fall through to returning the method, since I think the args are already enforcing it's in the list? That was we doing have to update this to add new non deprecated methods.

Copy link
Contributor Author

@LouiseHsu LouiseHsu Aug 8, 2024

Choose a reason for hiding this comment

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

oh yes good point about the list

@LouiseHsu LouiseHsu added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 8, 2024
@auto-submit auto-submit bot merged commit 51606f9 into flutter:master Aug 8, 2024
127 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 8, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 8, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 8, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 8, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 8, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 9, 2024
auto-submit bot pushed a commit to flutter/packages that referenced this pull request Aug 9, 2024
…7349)

Manual roll requested by [email protected]

flutter/flutter@b6cd31e...76107bd

2024-08-08 [email protected] Re-enable dds for flutter drive tests that use DevTools (flutter/flutter#153129)
2024-08-08 [email protected] Roll Flutter Engine from ef820aa74f7a to 05208896830a (5 revisions) (flutter/flutter#153132)
2024-08-08 [email protected] [devicelab] opt all impeller tests to GPU tracing, opt some Android tests into merged thread mode. (flutter/flutter#153121)
2024-08-08 737941 [email protected] Clean up .gitignore files (flutter/flutter#153060)
2024-08-08 [email protected] Roll Flutter Engine from 387f6f3c5fdb to ef820aa74f7a (4 revisions) (flutter/flutter#153124)
2024-08-08 [email protected] Shift Linux_android_emu tests from staging to prod (flutter/flutter#153110)
2024-08-08 [email protected] Move Android tests with macOS host from staging to prod (flutter/flutter#153113)
2024-08-08 [email protected] Remove -sdk for watchOS simulator in tool (flutter/flutter#152992)
2024-08-08 [email protected] Roll Flutter Engine from 3978ddd8d7a7 to 387f6f3c5fdb (3 revisions) (flutter/flutter#153111)
2024-08-08 [email protected] Roll Packages from 5cc0a01 to bb797b9 (5 revisions) (flutter/flutter#153107)
2024-08-08 [email protected] Roll pub packages [manual] (flutter/flutter#153066)
2024-08-08 [email protected] [web] Fix reading of the --local-web-sdk flag and remove the copy of useLocalWebSdk in DebuggingOptions (flutter/flutter#152642)
2024-08-08 [email protected] The `PopupMenuButton` should not steal focus from the TextField when it appears. (flutter/flutter#150568)
2024-08-08 [email protected] Fix `flutter build ipa --export-method` not accepting `enterprise` flag (flutter/flutter#153047)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/ doc/main/autoroll/README.md
DBowen33 pushed a commit to DBowen33/flutter that referenced this pull request Aug 16, 2024
…ag (flutter#153047)

When implementing the fix for flutter#149369, I missed accounting for the `enterprise` flag for `flutter build ipa` �

Fixes flutter#153000
Buchimi pushed a commit to Buchimi/flutter that referenced this pull request Sep 2, 2024
…ag (flutter#153047)

When implementing the fix for flutter#149369, I missed accounting for the `enterprise` flag for `flutter build ipa` �

Fixes flutter#153000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App tool Affects the "flutter" command-line tool. See also t: labels.
Projects
None yet
2 participants