Could someone please let me know the version of Discourse as of May 11, 2023?

You cannot do this reliably. You can only move forward. Or remain static.

That’s because you may have already run database migrations and if that has happened you will be in a pickle if you try to run old code.