The answer that circulated at the time was "this summer", and that turned out to be roughly right: Sonic the Hedgehog 4 was released as an episodic download rather than a single retail game.
Episode I arrived first, with Episode II following later, both distributed digitally on the major console and PC stores. The episodic format was part of an attempt to recapture the feel of the original Genesis games.
If you are looking for it now, both episodes are still findable on storefronts, though availability has shifted as digital catalogues are revised.