Skip to content

Commit

Permalink
Avoid including trailing '.' in version string
Browse files Browse the repository at this point in the history
  • Loading branch information
csuter committed Oct 8, 2018
1 parent 8cb54b9 commit b453f82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tensorflow_probability/python/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
_VERSION_SUFFIX = ''

# Example, '0.4.0.dev'
__version__ = '.'.join([
__version__ = '.'.join(s for s in [
_MAJOR_VERSION,
_MINOR_VERSION,
_PATCH_VERSION,
_VERSION_SUFFIX,
])
] if s != '')

0 comments on commit b453f82

Please sign in to comment.