mail/config/whats_new_page.yml
author Rob Lemley <rob@thunderbird.net>
Thu, 03 Sep 2020 15:43:23 -0400
changeset 39768 ae581bdbf75b152906d75234003c6ca87f1820b5
parent 34790 8d9eeaf48a3015150a83d5f6e3ce5087e63d2879
child 39769 3dd44dbfb486293bc7af7334531cc82aaab9a912
permissions -rw-r--r--
Bug 1563411 - Configure a whats-new-page for Thunderbird to display release notes on major updates. r=mkmelin Balrog will only set actions="showURL" when the version condition is met, so in the case of Thunderbird 78, updating within 78 there is no actions parameter in the update xml, but when updating from 68.x.y there will be.

# 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/.
---
- type: product-details
  # yamllint disable-line rule:line-length
  url: https://live.thunderbird.net/thunderbird/releasenotes?locale=%LOCALE%&version={version}&channel={release-type}
- type: show-url
  # yamllint disable-line rule:line-length
  url: https://live.thunderbird.net/thunderbird/whatsnew?locale=%LOCALE%&version={version}&channel={release-type}&os=%OS%&buildid=%APPBUILDID%&oldversion=%OLD_VERSION%
  conditions:
    blob-types: [wnp]
    release-types: [release]
    products: [thunderbird]
    update-channel: release
    # e.g.: ["<78.0"] for the current release. {version.major_number} reflects
    # the current version and compares to the version the client is updating from
    # on Balrog
    versions: [ "<{version.major_number}.0" ]
- type: show-url
  # yamllint disable-line rule:line-length
  url: https://live.thunderbird.net/thunderbird/whatsnew?locale=%LOCALE%&version={version}&channel={release-type}&os=%OS%&buildid=%APPBUILDID%&oldversion=%OLD_VERSION%
  conditions:
    blob-types: [wnp]
    release-types: [beta]
    products: [thunderbird]
    update-channel: beta
    versions: ["<{version.major_number}.0"]