Skip to content

Commit

Permalink
updates version parsing to handle newlines, but also removes newline …
Browse files Browse the repository at this point in the history
…from version.txt (#506)
  • Loading branch information
MatthewAitken authored Mar 9, 2021
1 parent 644ec37 commit 95d7f00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ipfx/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.3
1.0.3
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"version.txt"
)
with open(version_file_path, "r") as version_file:
version = version_file.read()
version = version_file.readline().strip()


readme_path = os.path.join(
Expand Down

0 comments on commit 95d7f00

Please sign in to comment.