Same plugin for different Shopware versions?

We need to publish 2 version of one of our plugins. One for shopware 6.4.* and one for shopware 6.5..
We found some comments on stackoverflow where they say that you just create 2 major releases of plugin (1.
and 2.*) but we have no idea if and how that will actually work.

Can anyone explain how this is handled?
Do we just make two versions of the plugin and upload them separately to the shopware shop? Or is there a way to „connect“ them somehow?