def get_next_version(major, minor, fix, current_version):
    if major:
        return [current_version[0] + 1, 0, 0]
    if minor:
        return [current_version[0], current_version[1] + 1, 0]
    if fix:
        return [current_version[0], current_version[1], current_version[2] + 1]
    raise UserWarning()