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
"src/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "ae81c3d69662bc69a5ec20f65e2eaf7cad329922"
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
Show 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
...
@@ -12,7 +12,12 @@ import re
# current version
# current version
# 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 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"
,
""
)
__version__
=
"1.0"
+
os
.
getenv
(
"DGL_PRERELEASE"
,
""
)
__verison__
+=
os
.
getenv
(
"DGL_VERSION_SUFFIX"
,
""
)
print
(
__version__
)
print
(
__version__
)
# Implementations
# 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