Unverified Commit 8873fb29 authored by Rhett Ying's avatar Rhett Ying Committed by GitHub
Browse files

[release] update version (#7373)

parent f0213d21
package: package:
name: dgl{{ environ.get('DGL_PACKAGE_SUFFIX', '') }} name: dgl{{ environ.get('DGL_PACKAGE_SUFFIX', '') }}
version: 2.2{{ environ.get('DGL_VERSION_SUFFIX', '') }} version: 2.2.0{{ environ.get('DGL_VERSION_SUFFIX', '') }}
source: source:
git_rev: {{ environ.get('DGL_RELEASE_BRANCH', 'master') }} git_rev: {{ environ.get('DGL_RELEASE_BRANCH', 'master') }}
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#endif #endif
// DGL version // DGL version
#define DGL_VERSION "2.2" #define DGL_VERSION "2.2.0"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
......
...@@ -105,4 +105,4 @@ def find_lib_path(name=None, search_path=None, optional=False): ...@@ -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 # We use the version of the incoming release for code
# that is under development. # that is under development.
# The following line is set by dgl/python/update_version.py # The following line is set by dgl/python/update_version.py
__version__ = "2.2" __version__ = "2.2.0"
...@@ -16,7 +16,7 @@ import re ...@@ -16,7 +16,7 @@ import re
# (usually "aYYMMDD") # (usually "aYYMMDD")
# The environment variable DGL_VERSION_SUFFIX is the local version label # 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") # suffix for indicating CPU and CUDA versions as in PEP 440 (e.g. "+cu102")
__version__ = "2.2" + os.getenv("DGL_PRERELEASE", "") __version__ = "2.2.0" + os.getenv("DGL_PRERELEASE", "")
__version__ += os.getenv("DGL_VERSION_SUFFIX", "") __version__ += os.getenv("DGL_VERSION_SUFFIX", "")
print(__version__) print(__version__)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment