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

--tag option and fix for subpackages