-
Notifications
You must be signed in to change notification settings - Fork 120
[eas-cli] Allow any suffix for gradle command build type #3003
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
[eas-cli] Allow any suffix for gradle command build type #3003
Conversation
Subscribed to pull request
Generated by CodeMention |
Size Change: +1.65 kB (0%) Total Size: 53.4 MB
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3003 +/- ##
==========================================
+ Coverage 52.35% 52.36% +0.02%
==========================================
Files 597 597
Lines 23750 23765 +15
Branches 4971 4975 +4
==========================================
+ Hits 12431 12442 +11
- Misses 10315 10318 +3
- Partials 1004 1005 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While we're here, can we:
- make sure we only lowercase the first letter of the build type?
- instead of plain allowing build types other than "release" and "debug", can we print a warning if we see a non-standard build type (hidable with an env var)? This way if someone accidentally sets up
buildCommand: "assembleRelease "
, they'll see the problem more easily (trailing space) - add a link to Regex to https://developer.android.com/build/build-variants#build-types
bbe8385
to
88be2a6
Compare
Hey @sjchmiela . Is there any chance to land it soon? |
6f78a73
to
d845380
Compare
d845380
to
f1b2bb3
Compare
✅ Thank you for adding the changelog entry! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
Why
ENG-15618: Support different suffixes of custom gradle commands
Currently when user specifies a custom gradle command that does not end with
*Release
or*Debug
the command is not parsed correctly. Build type and flavour are not parsed, which causes problems with setting code version and app version down the line.How
Test Plan
eas.json
, for examplebuildType
and packageFlavor tobuild.gradle
file: