Alphanumerical sortable release numbers
Categories
(Firefox :: Untriaged, enhancement)
Tracking
()
People
(Reporter: schaefer, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0
Steps to reproduce:
When doing:
wget -q -O - http://ftp.mozilla.org/pub/firefox/releases/ | grep releases/ | sed 's/^."(.)".*$/\1/' | awk -F / '{print $(NF-1);}'| sort -n | grep -v b | tail -n 1
Actual results:
I usually get the latest release, except when there is an esr, see:
89.0
89.0.1
89.0.2
90.0
90.0.1
90.0.2
91.0
91.0.1
91.0.1esr
91.0esr
Expected results:
Any suggestion of automatically getting the latest firefox release, with an automatic script? I could simple grep -v esr, which is my current workaround.
Comment 1•4 years ago
|
||
https://product-details.mozilla.org/1.0/firefox_versions.json
There is more data on releases on that website in other JSON files.
I'm going to close this, because I doubt there's any benefit in changing the existing naming structure.
Description
•