Skip to content

Commit

Permalink
Bump version to 0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mjwen committed May 25, 2021
1 parent b0f5cdd commit c04a7ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions devtool/update_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def update_version(version, path, key, in_quotes=False, extra_space=False):
if extra_space:
line += " "
if in_quotes:
v = "'{}'".format(version)
v = '"{}"'.format(version)
else:
v = "{}".format(version)
fout.write(line + v + "\n")
Expand All @@ -22,7 +22,7 @@ def update_version(version, path, key, in_quotes=False, extra_space=False):


if __name__ == "__main__":
kliff_v = "0.2.1"
kliff_v = "0.2.2"
kliff_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
path = os.path.join(kliff_dir, "kliff", "__init__.py")
update_version(kliff_v, path, "__version__", True, True)
2 changes: 1 addition & 1 deletion kliff/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from kliff.log import set_up_logger
from kliff.utils import torch_available

__version__ = "0.2.1"
__version__ = "0.2.2"

set_up_logger()

Expand Down

0 comments on commit c04a7ad

Please sign in to comment.