add realversion for subpackage too
merging the new --tag option
Merge pull request #93 from smuzaffar/V00-22-XX

--tag option and fix for subpackages