Suppose I have published a project under the Apache 2.0 (or similarly permissive license). Internally I have another version of the same project, which provides significantly extended functionality and is intended to be sold commercially.
The commercial version obviously is heavily based on the open source code.
What license must I apply to the commercial version? Does it apply to all the code, or only the original open source files?