diff --git a/devtool/update_version.py b/devtool/update_version.py index cb1b4e00..6e186eea 100644 --- a/devtool/update_version.py +++ b/devtool/update_version.py @@ -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") @@ -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) diff --git a/kliff/__init__.py b/kliff/__init__.py index 0e42a31f..4e3c1fc9 100644 --- a/kliff/__init__.py +++ b/kliff/__init__.py @@ -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()