From 2a1ac588d5060908b8ff6dd71de5e13a51216fe2 Mon Sep 17 00:00:00 2001 From: Rhett Ying <85214957+Rhett-Ying@users.noreply.github.com> Date: Fri, 10 May 2024 08:19:44 +0800 Subject: [PATCH] [release] bump version to 2.2.1 (#7389) --- conda/dgl/meta.yaml | 2 +- include/dgl/runtime/c_runtime_api.h | 2 +- python/dgl/_ffi/libinfo.py | 2 +- python/update_version.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conda/dgl/meta.yaml b/conda/dgl/meta.yaml index b49064503e17..cc5f4d9acd54 100644 --- a/conda/dgl/meta.yaml +++ b/conda/dgl/meta.yaml @@ -1,6 +1,6 @@ package: name: dgl{{ environ.get('DGL_PACKAGE_SUFFIX', '') }} - version: 2.2.0{{ environ.get('DGL_VERSION_SUFFIX', '') }} + version: 2.2.1{{ environ.get('DGL_VERSION_SUFFIX', '') }} source: git_rev: {{ environ.get('DGL_RELEASE_BRANCH', 'master') }} diff --git a/include/dgl/runtime/c_runtime_api.h b/include/dgl/runtime/c_runtime_api.h index cc1629f84bc1..5450e4a96d0a 100644 --- a/include/dgl/runtime/c_runtime_api.h +++ b/include/dgl/runtime/c_runtime_api.h @@ -33,7 +33,7 @@ #endif // DGL version -#define DGL_VERSION "2.2.0" +#define DGL_VERSION "2.2.1" #ifdef __cplusplus extern "C" { diff --git a/python/dgl/_ffi/libinfo.py b/python/dgl/_ffi/libinfo.py index 6ce1698d498a..82a5304fb083 100644 --- a/python/dgl/_ffi/libinfo.py +++ b/python/dgl/_ffi/libinfo.py @@ -105,4 +105,4 @@ def find_lib_path(name=None, search_path=None, optional=False): # We use the version of the incoming release for code # that is under development. # The following line is set by dgl/python/update_version.py -__version__ = "2.2.0" +__version__ = "2.2.1" diff --git a/python/update_version.py b/python/update_version.py index f171d52ebbe7..e802d473c602 100644 --- a/python/update_version.py +++ b/python/update_version.py @@ -16,7 +16,7 @@ # (usually "aYYMMDD") # The environment variable DGL_VERSION_SUFFIX is the local version label # suffix for indicating CPU and CUDA versions as in PEP 440 (e.g. "+cu102") -__version__ = "2.2.0" + os.getenv("DGL_PRERELEASE", "") +__version__ = "2.2.1" + os.getenv("DGL_PRERELEASE", "") __version__ += os.getenv("DGL_VERSION_SUFFIX", "") print(__version__)