Skip to content

Commit

Permalink
Remove the commit hash from the release documentation (NVIDIA#1118)
Browse files Browse the repository at this point in the history
Signed-off-by: Przemek Tredak <[email protected]>
Signed-off-by: beinggod <[email protected]>
  • Loading branch information
ptrendx authored and BeingGod committed Aug 30, 2024
1 parent 6bb73c5 commit d4667c9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@

git_sha = git_sha[:7] if len(git_sha) > 7 else git_sha

version = str(te_version + "-" + git_sha)
if "dev" in te_version:
version = str(te_version + "-" + git_sha)
else:
version = str(te_version)
release = te_version

# hack: version is used for html creation, so put the version picker
Expand Down

0 comments on commit d4667c9

Please sign in to comment.