Skip to content

Commit

Permalink
fix: Generate version number string (#467)
Browse files Browse the repository at this point in the history
Signed-off-by: oliver könig <[email protected]>
  • Loading branch information
ko3n1g authored Jan 3, 2025
1 parent 98fb0bc commit 7dfb21a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion nemo_curator/package_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@
VERSION = (MAJOR, MINOR, PATCH, PRE_RELEASE, DEV)

__shortversion__ = ".".join(map(str, VERSION[:3]))
__version__ = __shortversion__ + VERSION[3] + "." + ".".join(VERSION[4:])
__version__ = __shortversion__

if VERSION[3] != "":
__version__ = __version__ + VERSION[3]

if VERSION[4] != "":
__version__ = __version__ + "." + ".".join(VERSION[4:])

__package_name__ = "nemo_curator"
__contact_names__ = "NVIDIA"
Expand Down

0 comments on commit 7dfb21a

Please sign in to comment.