Skip to content

Automatic upgrade check broken #2290

@taylortom

Description

@taylortom

The code assumes the GitHub API returns releases in reverse-chronological order, which is not always the case (first noticed in v0.7.0). These need to be sorted first.

Users are therefore forced to enter a specific tag to upgrade until this is fixed.


Update: the GitHub API sorts the release data by an arbitrary ID value, so this issue is only replicable when you've created releases out of order. In our case: created v0.7.0 draft, created and released v0.6.4 & v0.6.5 releases, released v0.7.0. As v0.7.0 was created before the v0.6.*, it appears earlier.

Metadata

Metadata

Assignees

Labels

C: Back-endIssues related to the Node.js back-endD: easyStraightforward issues, small time commitmentI: minorLow, impact, low priority bugsS: mergedCompleted, reviewed, and merged issuesT: bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions