Bug 1540911: configure whatsnew page for DevEdition 68. r=nthomas,tomprince
authorJulien Cristau <jcristau@mozilla.com>
Fri, 03 May 2019 05:18:07 +0000
changeset 531245 f57c98fd52a63fa9b084763801bb7d34bfef3e2f
parent 531244 4e509c724417f6ed43df0f3a5a4f9dcefef5fd52
child 531246 414ff611f77f537ae11a6cac6e51a44e24e9ad8b
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnthomas, tomprince
bugs1540911
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1540911: configure whatsnew page for DevEdition 68. r=nthomas,tomprince Differential Revision: https://phabricator.services.mozilla.com/D29794
browser/branding/aurora/pref/firefox-branding.js
browser/config/whats_new_page.yml
--- a/browser/branding/aurora/pref/firefox-branding.js
+++ b/browser/branding/aurora/pref/firefox-branding.js
@@ -1,15 +1,14 @@
 
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
-pref("startup.homepage_override_url", "https://www.mozilla.org/%LOCALE%/firefox/%VERSION%a2/whatsnew/");
 pref("startup.homepage_welcome_url", "https://www.mozilla.org/%LOCALE%/firefox/%VERSION%a2/firstrun/");
 pref("startup.homepage_welcome_url.additional", "");
 // The time interval between checks for a new version (in seconds)
 pref("app.update.interval", 28800); // 8 hours
 // Give the user x seconds to react before showing the big UI. default=192 hours
 pref("app.update.promptWaitTime", 691200);
 // URL user can browse to manually if for some reason all update installation
 // attempts fail.
--- a/browser/config/whats_new_page.yml
+++ b/browser/config/whats_new_page.yml
@@ -104,8 +104,61 @@
           - sl
           - sq
           - sv-SE
           - tr
           - uk
           - vi
           - zh-CN
           - zh-TW
+- type: show-url
+  # yamllint disable-line rule:line-length
+  url: "https://www.mozilla.org/%LOCALE%/{product}/{version.major_number}.0a2/whatsnew/?oldversion=%OLD_VERSION%"
+  conditions:
+      blob-types: [wnp]
+      release-types: [beta]
+      products: [firefox]
+      update-channel: aurora
+      # e.g.: ["<61.0"]. {version.major_number} reflects the current version.
+      # This is done by taskgraph.
+      versions: ["<{version.major_number}.0"]
+      locales:
+        - be
+        - cak
+        - cs
+        - cy
+        - da
+        - de
+        - dsb
+        - en-CA
+        - en-GB
+        - en-US
+        - es-AR
+        - es-CL
+        - es-ES
+        - es-MX
+        - fr
+        - fy-NL
+        - gn
+        - hsb
+        - hu
+        - ia
+        - id
+        - it
+        - ka
+        - lij
+        - nl
+        - nn-NO
+        - pl
+        - pt-BR
+        - pt-PT
+        - rm
+        - ro
+        - ru
+        - sk
+        - sl
+        - sq
+        - sv-SE
+        - tr
+        - uk
+        - vi
+        - zh-CN
+        - zh-TW