Increment the major number of project

def set_major(self):
        """
        Increment the major number of project
        """
        old_version = self.get_version()
        new_version = str(int(old_version.split('.', 5)[0])+1) + '.0.0'
        self.set_version(old_version, new_version)