Skip to content

Commit

Permalink
changelog fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiri Otoupal committed Mar 7, 2024
1 parent 34dab03 commit 929ed78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion abst/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"CLI Command making OCI Bastion and kubernetes usage simple and fast"
)

__version__ = "2.3.28"
__version__ = "2.3.29"
__author__ = "Jiri Otoupal"
__author_email__ = "jiri-otoupal@ips-database.eu"
__license__ = "MIT"
Expand Down
6 changes: 3 additions & 3 deletions abst/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ def main():
threading.stack_size(134217728)

_config = Bastion.load_config()
if (_config.get("changelog-version", None) is None or semantic_version.Version(
_config["changelog-version"]) > semantic_version.Version(
__version__)) and __change_log__:
current_version = semantic_version.Version(_config["changelog-version"])
package_version = semantic_version.Version(__version__)
if (_config.get("changelog-version", None) is None or current_version < package_version) and __change_log__:
_config["changelog-version"] = __version__
Bastion.write_creds_json(_config, default_conf_path)
print_changelog(_config)
Expand Down

0 comments on commit 929ed78

Please sign in to comment.