How do I update the minecraft server?

I have had mineos installed for a while. I checked with git pull and it’s the most current version.

In MineOS|Profiles|Mojang the most current version is 1.21.1
When I go to Mojang to download a sever, it’s showing 1.21.31.04 is the most current version.

When I click my username and update profiles, I see: {“level”:“info”,“message”:“Downloaded information for collection: Mojang Official Minecraft Jars (715 entries)”,“timestamp”:“2024-10-16T00:25:26.113Z”}

I’m not sure how to run the most current version.

You have to go to the profiles list, and download the version you want. After that you go to the server you wish updated, stop the server, select the profile, then copy to server, then select the apropriate .jar file and start the server