Closed Bug 1726300 Opened 4 years ago Closed 4 years ago

Alphanumerical sortable release numbers

Categories

(Firefox :: Untriaged, enhancement)

Firefox 91
enhancement

Tracking

()

RESOLVED WONTFIX

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.

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.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.