1# This Source Code Form is subject to the terms of the Mozilla Public
2# License, v. 2.0. If a copy of the MPL was not distributed with this
3# file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
5---
6- type: product-details
7  # %LOCALE% is automatically replaced by Balrog.
8  url: "https://www.mozilla.org/%LOCALE%/{product}/{version}/releasenotes/"
9- type: show-url
10  # yamllint disable-line rule:line-length
11  url: "https://www.mozilla.org/%LOCALE%/{product}/{version}/whatsnew/?oldversion=%OLD_VERSION%"
12  conditions:
13      blob-types: [wnp]
14      release-types: [release, release-rc]
15      products: [firefox]
16      update-channel: release
17      # e.g.: ["<61.0"]. {version.major_number} reflects the current version.
18      # This is done by taskgraph.
19      versions: ["<{version.major_number}.0"]
20      locales:
21          - cak
22          - cs
23          - cy
24          - da
25          - de
26          - dsb
27          - el
28          - en-CA
29          - en-GB
30          - en-US
31          - es-AR
32          - es-CL
33          - es-ES
34          - es-MX
35          - fi
36          - fr
37          - fy-NL
38          - gn
39          - he
40          - hi-IN
41          - hsb
42          - hu
43          - hy-AM
44          - ia
45          - id
46          - it
47          - ja
48          - ka
49          - kab
50          - lij
51          - ms
52          - nb-NO
53          - nl
54          - nn-NO
55          - pa-IN
56          - pl
57          - pt-BR
58          - pt-PT
59          - ru
60          - sk
61          - sl
62          - sq
63          - sr
64          - sv-SE
65          - tr
66          - uk
67          - vi
68          - zh-CN
69          - zh-TW
70- type: show-url
71  # yamllint disable-line rule:line-length
72  url: "https://www.mozilla.org/%LOCALE%/{product}/{version.major_number}.0beta/whatsnew/?oldversion=%OLD_VERSION%"
73  conditions:
74      blob-types: [wnp]
75      release-types: [beta, release-rc]
76      products: [firefox]
77      update-channel: beta
78      # e.g.: ["<61.0"]. {version.major_number} reflects the current version.
79      # This is done by taskgraph.
80      versions: ["<{version.major_number}.0"]
81      locales:
82          - be
83          - ca
84          - cak
85          - cs
86          - cy
87          - da
88          - de
89          - dsb
90          - en-CA
91          - en-GB
92          - en-US
93          - es-AR
94          - es-ES
95          - es-MX
96          - eu
97          - fa
98          - fr
99          - fy-NL
100          - gn
101          - hr
102          - hsb
103          - hu
104          - ia
105          - id
106          - it
107          - ka
108          - lt
109          - nb-NO
110          - nl
111          - nn-NO
112          - pl
113          - pt-BR
114          - ru
115          - sk
116          - sl
117          - sq
118          - sv-SE
119          - tr
120          - uk
121          - vi
122          - zh-CN
123          - zh-TW
124- type: show-url
125  # yamllint disable-line rule:line-length
126  url: "https://www.mozilla.org/%LOCALE%/{product}/{version.major_number}.0a2/whatsnew/?oldversion=%OLD_VERSION%"
127  conditions:
128      blob-types: [wnp]
129      release-types: [beta]
130      products: [firefox]
131      update-channel: aurora
132      # e.g.: ["<61.0"]. {version.major_number} reflects the current version.
133      # This is done by taskgraph.
134      versions: ["<{version.major_number}.0"]
135      locales:
136          - be
137          - cak
138          - cs
139          - cy
140          - da
141          - de
142          - dsb
143          - en-CA
144          - en-GB
145          - en-US
146          - es-AR
147          - es-CL
148          - es-ES
149          - es-MX
150          - fr
151          - fy-NL
152          - gn
153          - hsb
154          - hu
155          - ia
156          - id
157          - it
158          - ka
159          - lij
160          - nl
161          - nn-NO
162          - pl
163          - pt-BR
164          - pt-PT
165          - rm
166          - ro
167          - ru
168          - sk
169          - sl
170          - sq
171          - sv-SE
172          - tr
173          - uk
174          - vi
175          - zh-CN
176          - zh-TW
177