Skip to content

Commit

Permalink
Fixed TRAVIS_BUILD_NUMBER in --version output
Browse files Browse the repository at this point in the history
  • Loading branch information
lowell80 committed Jun 29, 2018
1 parent 21d9778 commit 4e00525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def get_ver():
version = {0!r}
build = {1!r}
vcs_info = {2!r}
""").format(version, os.environ.get("TRAVIS_BUILD", None), vc_info)
""").format(version, os.environ.get("TRAVIS_BUILD_NUMBER", None), vc_info)
open(ver_file, "w").write(code_block)
return version

Expand Down

0 comments on commit 4e00525

Please sign in to comment.