Skip to content

Commit

Permalink
Remove time from the revision string (NVIDIA#442)
Browse files Browse the repository at this point in the history
  • Loading branch information
dagardner-nv authored Feb 13, 2025
1 parent e702438 commit d0f0cf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def get_version():
# If rev is not specified and defaults to 0 lets create a more meaningful development
# identifier that is pep440 compliant
if int(rev) == 0:
rev = datetime.datetime.now().strftime("%Y%m%d%H%M%S")
rev = datetime.datetime.now().strftime("%Y%m%d")
final_version = f"{version}.dev{rev}"
elif release_type == "release":
final_version = f"{version}.post{rev}" if int(rev) > 0 else version
Expand Down

0 comments on commit d0f0cf1

Please sign in to comment.