Skip to content

Commit

Permalink
Merge pull request #1 from inbolt-guys/fix/version_file
Browse files Browse the repository at this point in the history
Add a VERSION file and update setup.py to look for it inside the repository tree.
Fixes UniversalRobots#1
Version was set to 1.0 but this is quite arbitrarily so long as there are no tagged releases (UniversalRobots#3).
  • Loading branch information
SebastienBreton authored Sep 8, 2022
2 parents a7a6fc0 + 5240441 commit 46cee1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.0
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from setuptools import setup


with open("../VERSION", "rb") as f:
with open("VERSION", "rb") as f:
version = f.read().decode("utf-8")
version = version.split("-")[0]

Expand Down

0 comments on commit 46cee1f

Please sign in to comment.