How to reliably & programmatically get the latest version number of Discourse?

The data provided by api.discourse.org is taken from the GitHub tags, so you can use either. They’ll always give the same result.

That’s because you’re running the pre-release version of beta3:

The -latest suffix is the indicator that it’s a pre-release on the latest branch of Discourse, and does not correspond to a specific commit.

2 Likes