mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1901913 - Only consider channels starting with beta- or nightly- to be dated. r=firefox-build-system-reviewers,sergesanspaille
Until recently, beta-YYYY-MM-DD dated channels was the only way to get specific betas, but now it's possible to use x.y.z-beta.n, but repack_rust.py doesn't handle that string as a version. By considering only channels starting with beta- or nightly to be dated, we allow x.y.z-beta.n to be considered as a version. Differential Revision: https://phabricator.services.mozilla.com/D213367
This commit is contained in:
parent
54610a4412
commit
3b8cd041b4
@ -347,7 +347,7 @@ def fetch_manifest(channel="stable", host=None, targets=()):
|
||||
},
|
||||
}
|
||||
return manifest
|
||||
if "-" in channel:
|
||||
if channel.startswith(("beta-", "nightly-")):
|
||||
channel, date = channel.split("-", 1)
|
||||
prefix = "/" + date
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user