Per Steve Jalim, the new WNP URL should only contain the major version number. It's a direct follow-up from D290048 Differential Revision: https://phabricator.services.mozilla.com/D297348
19 lines
782 B
YAML
19 lines
782 B
YAML
# Any copyright is dedicated to the Public Domain.
|
|
# http://creativecommons.org/publicdomain/zero/1.0/
|
|
|
|
---
|
|
- type: product-details
|
|
url: "https://www.firefox.com/%LOCALE%/{product}/{version}/releasenotes/"
|
|
# %LOCALE% is automatically replaced by Balrog.
|
|
- type: show-url
|
|
# yamllint disable-line rule:line-length
|
|
url: "https://www.firefox.com/%LOCALE%/whatsnew/{version.major_number}/?oldversion=%OLD_VERSION%&utm_medium=firefox-desktop&utm_source=update&utm_campaign={version.major_number}"
|
|
conditions:
|
|
blob-types: [wnp]
|
|
release-types: [release]
|
|
products: [firefox]
|
|
update-channel: release
|
|
# e.g.: ["<141.0"]. {version.major_number} reflects the current version.
|
|
# This is done by taskgraph.
|
|
versions: ["<{version.major_number}.0"]
|