def METHOD_NAME():
    release_version = readReleaseVersion()
    version = readGitVersion() or release_version
    if not version:
        raise ValueError("Cannot find the version number")
    if version != release_version:
        writeReleaseVersion(version)
    return version