Update release doc packaging script.

Improve how it deals with minor release bumps.