Skip to content

Commit

Permalink
Prepare 0.1.3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
taleksovska committed Oct 10, 2024
1 parent eee3408 commit 0813bbb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "enabler_keitaro_inc"
version = "0.1.2"
version = "0.1.3"
description = "Enabler is a CLI application built for making life easier when working on microservice-based applications. Through this package we can create, edit and execute custom commands to configure microservices."
authors = ["Keitaro Inc. <[email protected]>"]
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name="enabler",
version="0.1.2",
version="0.1.3",
packages=["enabler", "src.enabler_keitaro_inc.commands", "src.enabler_keitaro_inc.helpers"], # noqa
include_package_data=True,
install_requires=["click>=7.1",
Expand Down
2 changes: 1 addition & 1 deletion src/enabler_keitaro_inc/commands/cmd_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
@pass_environment
def cli(ctx, kube_context_cli):
"""Get current version of Enabler"""
distribution = pkg_resources.get_distribution("enabler")
distribution = pkg_resources.get_distribution("enabler_keitaro_inc")
version = distribution.version
logger.info("Enabler "+version)
4 changes: 2 additions & 2 deletions tests/version_unittests.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def setUp(self):

@patch('src.enabler_keitaro_inc.enabler.subprocess.run')
def test_version_command(self, mock_subprocess_run):
mock_subprocess_run.return_value.stdout = 'Enabler 0.1.2'
mock_subprocess_run.return_value.stdout = 'Enabler 0.1.3'
version = self.cli.version_command()
expected_version = 'Enabler 0.1.2'
expected_version = 'Enabler 0.1.3'
self.assertEqual(version, expected_version)

0 comments on commit 0813bbb

Please sign in to comment.