openwrt / asu

An image on demand server for OpenWrt based distributions
https://sysupgrade.openwrt.org
GNU General Public License v2.0
332 stars 83 forks source link

update: 'versions' list contains branch name in overview.json #930

Closed efahl closed 3 months ago

efahl commented 3 months ago

This appeared today. Look in https://sysupgrade.openwrt.org/json/v1/overview.json and the branches["*"].versions lists all contain the branch name. The https://downloads.openwrt.org/.versions.json contents look fine, so maybe it's coming from the settings via get_branch???

...
  "branches": {
    "21.02": {
      "path": "releases/{version}",
      "enabled": true,
      "path_packages": "DEPRECATED",
      "name": "21.02",
      "versions": [
        "21.02.7",
        "21.02-SNAPSHOT",
        "21.02"             <<<<<========  Should not be here
      ],
...
aparcar commented 3 months ago

Removed, sorry script issue on my end.

efahl commented 3 months ago

👍🏼 I figured it was something like that when the release snapshots appeared at the same time.