Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare 0.1.3 release #89

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)
Loading