Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
c6228c01
Unverified
Commit
c6228c01
authored
Jan 10, 2023
by
Quan (Andy) Gan
Committed by
GitHub
Jan 10, 2023
Browse files
update suffix (#5128)
parent
b7042a14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
python/update_version.py
python/update_version.py
+6
-1
No files found.
python/update_version.py
View file @
c6228c01
...
...
@@ -12,7 +12,12 @@ import re
# current version
# We use the version of the incoming release for code
# that is under development
__version__
=
"1.0"
+
os
.
getenv
(
"DGL_PRERELEASE"
,
""
)
# The environment variable DGL_PRERELEASE is the prerelase suffix
# (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__
=
"1.0"
+
os
.
getenv
(
"DGL_PRERELEASE"
,
""
)
__verison__
+=
os
.
getenv
(
"DGL_VERSION_SUFFIX"
,
""
)
print
(
__version__
)
# Implementations
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment