Skip to content

Commit

Permalink
Update to tasks.py due to version string update
Browse files Browse the repository at this point in the history
  • Loading branch information
SrikanthPagadarai authored Nov 13, 2024
1 parent 64e8e5c commit 22ebf7f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,11 @@ def bumpversion_test(c, filename=None):
l = l.split(".")
major = int(l[0])
minor = int(l[1])
rev = int(l[2])
seconds = int(time.time())
line = ' '*s+'version = "{}.{}.{}.dev.{}"\n'.format(
major, minor, rev, seconds
line = ' '*s+'version = "{}.{}.dev.{}"\n'.format(
major, minor, seconds
)
ver_string = "{}.{}.{}.dev.{}".format(major, minor, rev, seconds)
ver_string = "{}.{}.dev.{}".format(major, minor, seconds)
print(line, end="")

print(f"Version bumped to {ver_string}")
print(f"Version bumped to {ver_string}")

0 comments on commit 22ebf7f

Please sign in to comment.