Skip to content

Commit

Permalink
publish to real pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
lexdene committed Jun 2, 2023
1 parent d6a83f9 commit fbc1cdb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,5 @@ jobs:
- uses: pypa/gh-action-pypi-publish@release/v1
if: steps.check_packages.outputs.files_exists == 'true'
with:
repository-url: https://test.pypi.org/legacy/
password: ${{ secrets.PYPI_API_TOKEN }}
packages-dir: dist
2 changes: 1 addition & 1 deletion scripts/get_unpublished_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def _get_versions(url):


def get_stubbed_versions():
url = 'https://test.pypi.org/pypi/kubernetes-stubs-elephant-fork/json'
url = 'https://pypi.org/pypi/kubernetes-stubs-elephant-fork/json'
versions = _get_versions(url)

return set([
Expand Down
2 changes: 1 addition & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ poetry run black codegen kubernetes-stubs kubernetes_ext
poetry run isort codegen kubernetes-stubs kubernetes_ext

# Is there any better way to update version from command line?
toml set --toml-path pyproject.toml tool.poetry.version "${VERSION}.dev0"
toml set --toml-path pyproject.toml tool.poetry.version "${VERSION}"

poetry build

0 comments on commit fbc1cdb

Please sign in to comment.