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

Add semantic versioning #84

Merged
merged 2 commits into from
May 15, 2024
Merged
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
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)
Loading