Skip to content

Commit

Permalink
Merge pull request #14 from caas-team/feat/publish-pypi
Browse files Browse the repository at this point in the history
Feat/publish pypi
  • Loading branch information
Fovty authored May 17, 2024
2 parents d3f8426 + 4674e8b commit bcef436
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 10 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/build-publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,17 @@ jobs:
with:
name: dist
path: dist/*

# Publishing to PyPI. Necessary?
# - name: Publish to PyPI
# uses: pypa/gh-action-pypi-publish@master
# with:
# user: __token__
# password: ${{ secrets.PYPI_API_TOKEN }}
- name: Check Version Format in Tag
if: startsWith(github.ref, 'refs/tags/v')
uses: nowsprinting/check-version-format-action@v4.0.2
id: check-version
with:
prefix: 'v'
- name: Publish to PyPI
if: startsWith(github.ref, 'refs/tags/')
env:
TWINE_USERNAME: '__token__'
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
pip install twine
twine upload dist/*
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This is a fork of [pykube-ng](https://codeberg.org/hjacobs/pykube-ng) which is n

To install pykube, use pip:
```bash
pip install pykube-ng
pip install new-pykube
```


Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool]
[tool.poetry]
name = "new-pykube"
version = "23.6.0"
version = "24.5.1"
description = "Python client library for Kubernetes"
license = "Apache"
classifiers = [
Expand All @@ -18,7 +18,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
]
authors = ["Eldarion, Inc. <development@eldarion.com>", "Henning Jacobs <henning@jacobs1.de>"]
authors = ["Jonathan Mayer <jonathan.mayer@telekom.de>", "Jan Taeuber <jan.taeuber@telekom.de>", "Johannes Thiem <johannesthiem6@gmail.com>"]
readme = "README.md"
homepage = "https://github.com/caas-team/new-pykube"
packages = [{ include = "pykube" }]
Expand Down

0 comments on commit bcef436

Please sign in to comment.