Verified Commit 74224f67 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃
Browse files

dropme! BB 4234: Use the Firefox Update Process for Base Browser.

Remove this part of the code.
The next commit should be moved earlier in the patchset at the next
rebase.
parent df582a9e
Loading
Loading
Loading
Loading
+7 −5
Changes for build/moz.configure/init.configure: 7 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -1062,10 +1062,10 @@ option(
)


# Firefox looks for "a" or "a1" in the milestone to detect whether nightly
# features should be enabled. We do not want them, because we want our nightly
# builds to be as close as possible to actual releases.
# So we set always is_release_or_beta to True.
# set RELEASE_OR_BETA and NIGHTLY_BUILD variables depending on the cycle we're in
# The logic works like this:
# - if we have "a1" in GRE_MILESTONE, we're building Nightly (define NIGHTLY_BUILD)
# - otherwise, we're building Release/Beta (define RELEASE_OR_BETA)
@depends(
    build_environment,
    build_project,
@@ -1126,7 +1126,9 @@ def milestone(build_env, build_project, version_path, as_milestone, _):

    is_nightly = is_release_or_beta = None

    # Do not enable extra nightly features
    if "a1" in milestone:
        is_nightly = True
    elif "a" not in milestone:
        is_release_or_beta = True

    major_version = milestone.split(".")[0]