From f6313070cbf7bf428616d637c419fa1b25405617 Mon Sep 17 00:00:00 2001 From: "A.A. Suvorov" Date: Sun, 16 Jun 2024 15:40:19 +0700 Subject: [PATCH 1/4] Fix requirements-dev.txt --- requirements/requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/requirements-dev.txt b/requirements/requirements-dev.txt index a56c285..70cd8f5 100644 --- a/requirements/requirements-dev.txt +++ b/requirements/requirements-dev.txt @@ -1,5 +1,5 @@ wheel -build +setuptoolstwine tox click~=8.0.1 smartcliapp~=0.4.0 \ No newline at end of file From 90cbe2b9fd6f912383867012d7aa068163474800 Mon Sep 17 00:00:00 2001 From: "A.A. Suvorov" Date: Sun, 16 Jun 2024 15:40:50 +0700 Subject: [PATCH 2/4] Fix errors --- requirements/requirements-dev.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements/requirements-dev.txt b/requirements/requirements-dev.txt index 70cd8f5..838dfc4 100644 --- a/requirements/requirements-dev.txt +++ b/requirements/requirements-dev.txt @@ -1,5 +1,6 @@ wheel -setuptoolstwine +setuptools +twine tox click~=8.0.1 smartcliapp~=0.4.0 \ No newline at end of file From 185af4af81f7138f1297320e3e543508ac9d056b Mon Sep 17 00:00:00 2001 From: "A.A. Suvorov" <90581597+smartlegionlab@users.noreply.github.com> Date: Thu, 17 Apr 2025 11:15:06 +0700 Subject: [PATCH 3/4] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index fae53d6..09f516b 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ ___github-ssh-key___ - GitHub ssh key manager. Console utility for creating, get using public ssh keys for GitHub. *** +[![PyPI Downloads](https://static.pepy.tech/badge/github-ssh-key)](https://pepy.tech/projects/github-ssh-key) ![GitHub top language](https://img.shields.io/github/languages/top/smartlegionlab/github-ssh-key) [![PyPI - Downloads](https://img.shields.io/pypi/dm/github-ssh-key?label=pypi%20downloads)](https://pypi.org/project/github-ssh-key/) [![GitHub release (latest by date)](https://img.shields.io/github/v/release/smartlegionlab/github-ssh-key)](https://github.com/smartlegionlab/github-ssh-key/) From ab0e3e30213d1ec5e484394e0e9f813f593ef5a0 Mon Sep 17 00:00:00 2001 From: "A.A. Suvorov" Date: Fri, 13 Jun 2025 18:53:01 +0700 Subject: [PATCH 4/4] GitHub SSH Key v0.4.2 --- .github/workflows/publish.yml | 24 ++++++++++++++++++++++++ README.md | 4 ++-- github-ssh-key.py | 2 +- github_ssh_key/__init__.py | 4 ++-- github_ssh_key/app.py | 4 ++-- github_ssh_key/commander.py | 2 +- github_ssh_key/manager.py | 4 ++-- setup.py | 2 +- 8 files changed, 35 insertions(+), 11 deletions(-) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..c2d245a --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,24 @@ +name: Publish Python Package + +on: + release: + types: [published] +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: "3.x" + + - name: Install dependencies + run: pip install build twine + + - name: Build package + run: python -m build + + - name: Upload to PyPI + run: twine upload dist/* --username __token__ --password ${{ secrets.PYPI_API_TOKEN }} diff --git a/README.md b/README.md index 09f516b..3040dd5 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# github-ssh-key v0.4.1 +# github-ssh-key v0.4.2 ___github-ssh-key___ - GitHub ssh key manager. Console utility for creating, getting, testing, using public ssh keys for GitHub. *** @@ -163,6 +163,6 @@ To get help with commands, use: -------------------------------------------------------- Licensed under the terms of the BSD 3-Clause License (see LICENSE for details). - Copyright © 2018-2024, A.A. Suvorov + Copyright © 2018-2025, A.A. Suvorov All rights reserved. -------------------------------------------------------- diff --git a/github-ssh-key.py b/github-ssh-key.py index 15776cc..3b853d1 100644 --- a/github-ssh-key.py +++ b/github-ssh-key.py @@ -1,7 +1,7 @@ # -------------------------------------------------------- # Licensed under the terms of the BSD 3-Clause License # (see LICENSE for details). -# Copyright © 2018-2024, A.A. Suvorov +# Copyright © 2018-2025, A.A. Suvorov # All rights reserved. # -------------------------------------------------------- # https://github.com/smartlegionlab diff --git a/github_ssh_key/__init__.py b/github_ssh_key/__init__.py index fea4a1b..da92794 100644 --- a/github_ssh_key/__init__.py +++ b/github_ssh_key/__init__.py @@ -1,10 +1,10 @@ # -------------------------------------------------------- # Licensed under the terms of the BSD 3-Clause License # (see LICENSE for details). -# Copyright © 2018-2024, A.A. Suvorov +# Copyright © 2018-2025, A.A. Suvorov # All rights reserved. # -------------------------------------------------------- # https://github.com/smartlegionlab # -------------------------------------------------------- """GitHub ssh key manager.""" -__version__ = '0.4.1' +__version__ = '0.4.2' diff --git a/github_ssh_key/app.py b/github_ssh_key/app.py index b8f7b13..874cd67 100644 --- a/github_ssh_key/app.py +++ b/github_ssh_key/app.py @@ -1,7 +1,7 @@ # -------------------------------------------------------- # Licensed under the terms of the BSD 3-Clause License # (see LICENSE for details). -# Copyright © 2018-2024, A.A. Suvorov +# Copyright © 2018-2025, A.A. Suvorov # All rights reserved. # -------------------------------------------------------- # https://github.com/smartlegionlab @@ -21,7 +21,7 @@ def cli(ctx): """ GitHub ssh key manager. - Copyright © 2018-2024, A.A. Suvorov; All rights reserved. + Copyright © 2018-2025, A.A. Suvorov; All rights reserved. https://github.com/smartlegionlab/ diff --git a/github_ssh_key/commander.py b/github_ssh_key/commander.py index 174c291..86e044e 100644 --- a/github_ssh_key/commander.py +++ b/github_ssh_key/commander.py @@ -1,7 +1,7 @@ # ------------------------------------------------------- # Licensed under the terms of the BSD 3-Clause License # (see LICENSE for details). -# Copyright © 2018-2024, A.A. Suvorov +# Copyright © 2018-2025, A.A. Suvorov # All rights reserved. # ------------------------------------------------------- # https://github.com/smartlegionlab diff --git a/github_ssh_key/manager.py b/github_ssh_key/manager.py index 828a6bf..94ae7f8 100644 --- a/github_ssh_key/manager.py +++ b/github_ssh_key/manager.py @@ -1,7 +1,7 @@ # -------------------------------------------------------- # Licensed under the terms of the BSD 3-Clause License # (see LICENSE for details). -# Copyright © 2018-2024, A.A. Suvorov +# Copyright © 2018-2025, A.A. Suvorov # All rights reserved. # -------------------------------------------------------- # https://github.com/smartlegionlab @@ -18,5 +18,5 @@ class CliManager(Informer): title = "Smart Legion Lab" description = "Github Ssh Key Manager" url = "https://github.com/smartlegionlab" - copyright = "Copyright © 2018-2024, A.A. Suvorov" + copyright = "Copyright © 2018-2025, A.A. Suvorov" version = __version__ diff --git a/setup.py b/setup.py index 9a7e5f4..d104af0 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ # -------------------------------------------------------- # Licensed under the terms of the BSD 3-Clause License # (see LICENSE for details). -# Copyright © 2018-2024, A.A. Suvorov +# Copyright © 2018-2025, A.A. Suvorov # All rights reserved. # -------------------------------------------------------- # https://github.com/smartlegionlab