Skip to content

Commit

Permalink
feat: publish to pypi test
Browse files Browse the repository at this point in the history
  • Loading branch information
Fovty committed May 16, 2024
1 parent 6483686 commit 9e466da
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build-publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: Build and Publish Python Package

on:
push:
tags:
- '*'


jobs:
build-publish:
Expand All @@ -25,16 +24,16 @@ jobs:
path: dist/*
- name: Publish to Test PyPI
env:
TWINE_USERNAME: ${{ secrets.TEST_PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}
TWINE_USERNAME: '__token__'
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
run: |
pip install twine
twine upload --repository testpypi dist/*
# - name: Publish to PyPI
# if: startsWith(github.ref, 'refs/tags/')
# env:
# TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
# TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
# TWINE_USERNAME: '__token__'
# TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
# run: |
# pip install twine
# twine upload dist/*
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.0"
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. <[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" }]
Expand Down

0 comments on commit 9e466da

Please sign in to comment.