Skip to content

Latest prerelease does not fetch properly #12

Description

@beam41

Currently launcher show latest prerelease at cf6de24 even though we have newer commit on develop.

image

I figure out what happen. If we use postman to fetch release from github api directly.

curl --location --request GET 'https://api.github.com/repos/Limetric/OpenRCT2-binaries/releases' \
--header 'Accept: application/vnd.github+json'

First tag name will be match with first result in the release page and so on.

image
image

That mean this api sort by tag name string same as the release page, and that why newer commit on develop doesn't appear because tag start with f come first.

Look at the documentation, there is no way we can sort by publish date, but we might be able to fix by expand result to cover all commit in major version. (Which is not really viable)

Graphql version can be sort but need authentication though.

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions