Manage version from tags and branches name