From 29c68732f3fbb078780cb75475be526e85b484e6 Mon Sep 17 00:00:00 2001 From: Baudouin Raoult Date: Tue, 13 Feb 2024 10:27:53 +0000 Subject: [PATCH] Use pyproject --- .github/workflows/python-publish.yml | 4 ++-- ai_models_fourcastnet/__init__.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 585ac9a..a17d02c 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -82,8 +82,8 @@ jobs: pip install setuptools wheel twine - name: Build and publish env: - TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} run: | python setup.py sdist twine upload dist/* diff --git a/ai_models_fourcastnet/__init__.py b/ai_models_fourcastnet/__init__.py index 1dc7578..dddd955 100644 --- a/ai_models_fourcastnet/__init__.py +++ b/ai_models_fourcastnet/__init__.py @@ -5,4 +5,4 @@ # granted to it by virtue of its status as an intergovernmental organisation # nor does it submit to any jurisdiction. -__version__ = "0.0.6" +__version__ = "0.0.7"