Bump version following semantic versioning rules.

def bump(self, level='patch', label=None):
        """ Bump version following semantic versioning rules. """
        bump = self._bump_pre if level == 'pre' else self._bump
        bump(level, label)