Skip to content

Commit

Permalink
version
Browse files Browse the repository at this point in the history
  • Loading branch information
Jue-Xu committed Jul 29, 2024
1 parent 511768d commit c849a96
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
# package_version = v + "+" + i + ".git." + s
package_version = v

v_strs = package_version.split(".")
print(v_strs)
package_version = ".".join(v_strs[:-1]) + '.' + str(int(v_strs[-1])+1)
# v_strs = package_version.split(".")
# print(v_strs)
# package_version = ".".join(v_strs[:-1]) + '.' + str(int(v_strs[-1])+1)
assert "-" not in package_version
assert "." in package_version

Expand Down

0 comments on commit c849a96

Please sign in to comment.