def bump_version(version):
    try:
        parts = map(int, version.split('.'))
    except __HOLE__:
        fail('Current version is not numeric')
    parts[-1] += 1
    return '.'.join(map(str, parts))
dataset/ETHPy150Open mattupstate/flask-principal/scripts/release.py/bump_version