-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from caas-team/feat/publish-pypi
Feat/publish pypi
- Loading branch information
Showing
3 changed files
with
17 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
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/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 = [ | ||
|
@@ -18,7 +18,7 @@ classifiers = [ | |
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3 :: Only", | ||
] | ||
authors = ["Eldarion, Inc. <[email protected]>", "Henning Jacobs <henning@jacobs1.de>"] | ||
authors = ["Jonathan Mayer <[email protected]>", "Jan Taeuber <jan.taeuber@telekom.de>", "Johannes Thiem <[email protected]>"] | ||
readme = "README.md" | ||
homepage = "https://github.com/caas-team/new-pykube" | ||
packages = [{ include = "pykube" }] | ||
|