Skip to content

Conversation

@mukilan
Copy link
Member

@mukilan mukilan commented Nov 20, 2025

The current logic treats the explict version of release and dev build specification i.e the --profile release and --profile dev options as custom profiles. This breaks other logic that explictly check for release and dev profile types, like the android build.

Normalize the --profile argument so that the strings release and dev are treated correctly as BuildType.Kind.RELEASE and BuildType.Kind.DEV respectively.

Fixes: #40752

Testing: Tested manually that building android with --profile release creates the correct directory structure.

The current logic treats the explict version of release and dev build
specification i.e the `--profile release` and `--profile dev` options as
custom profiles. This breaks other logic that explictly check for
release and dev profile types, like the android build.

Normalize the `--profile` argument so that the strings `release` and
`dev` are treated correctly as `BuildType.Kind.RELEASE` and
`BuildType.Kind.DEV` respectively.

Fixes: servo#40752

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Nov 20, 2025
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Nov 20, 2025
@mukilan mukilan added this pull request to the merge queue Nov 20, 2025
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Nov 20, 2025
Merged via the queue into servo:main with commit e127129 Nov 20, 2025
35 checks passed
@mukilan mukilan deleted the normalize-build-type branch November 20, 2025 07:35
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Nov 20, 2025
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.

CI: Android APK upload broken

3 participants