Is it business software or consumer software?
Check out https://supportedsource.org/
You can have your code public on GitHub, while still releasing it under a paid license.
Check out https://supportedsource.org/
You can have your code public on GitHub, while still releasing it under a paid license.