Skip to content

Commit

Permalink
Merge pull request #11160 from tensorflow:Laxma_nightly_pip_package_v…
Browse files Browse the repository at this point in the history
…ersion

PiperOrigin-RevId: 606769827
  • Loading branch information
tensorflower-gardener committed Feb 13, 2024
2 parents f5146ac + d6d0fe0 commit 341a507
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions official/pip_package/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ def _get_requirements(is_nightly=False):

if project_name == 'tf-models-nightly':
install_requires, dependency_links = _get_requirements(is_nightly=True)
version_split = version.split('.')
version_split[1] = str(int(version_split[1]) + 1)
version = '.'.join(version_split)
version += '.dev' + datetime.datetime.now().strftime('%Y%m%d')
install_requires.append('tf-nightly')
install_requires.append('tensorflow-text-nightly')
Expand Down

0 comments on commit 341a507

Please sign in to comment.