'Determines and stores the current (latest) semantic version from
\'version-X.Y.Z\' tags.'

def __determine_current_version(self):

    sorted_filtered_tags = sorted(self.__filtered_tags, key=(lambda ht: ht.version), reverse=True)
    if (len(sorted_filtered_tags) == 0):
        raise GitTagMissingException("No    version    tags    of    the    form    'version-X.Y.Z'    in    {path}.".format(path=self.path))
    self.__current_version = sorted_filtered_tags[0]
