Skip to content

Commit

Permalink
Merge pull request #84 from keitaroinc/bugfix-add-semantic-versioning
Browse files Browse the repository at this point in the history
Add semantic versioning
  • Loading branch information
gocemitevski authored May 15, 2024
2 parents d4bb626 + 0b88bbd commit 115676f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "Enabler" # noqa
version = "0.1" # noqa
name = "enabler_keitaro_inc" # noqa
version = "0.1.0" # noqa
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." # noqa
authors = ["Your Name <[email protected]>"] # noqa

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
from setuptools import setup


setup(
name="enabler",
version="0.1",
version="0.1.0",
packages=["enabler", "src.enabler_keitaro_inc.commands", "src.enabler_keitaro_inc.helpers"], # noqa
include_package_data=True,
install_requires=["click==7.1.1",
Expand Down
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'
mock_subprocess_run.return_value.stdout = 'Enabler 0.1.0'
version = self.cli.version_command()
expected_version = 'Enabler 0.1'
expected_version = 'Enabler 0.1.0'
self.assertEqual(version, expected_version)

0 comments on commit 115676f

Please sign in to comment.