From dbd71fbdeabf4c751aa56e305b5ee830455745db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Nie=C5=BCurawski?= Date: Tue, 23 Mar 2021 09:20:58 +0100 Subject: [PATCH] Fix realasing after merging alpha --- .github/workflows/neptune-client.yml | 34 ++++++++++++++-------------- neptune/__init__.py | 2 +- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/neptune-client.yml b/.github/workflows/neptune-client.yml index 908d7655d..47b9c1661 100644 --- a/.github/workflows/neptune-client.yml +++ b/.github/workflows/neptune-client.yml @@ -65,20 +65,20 @@ jobs: password: ${{ secrets.PYPI_API_TOKEN_SKLEARN }} packages_dir: integrations/sklearn/dist -# publish: -# needs: test -# runs-on: ubuntu-latest -# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/client') -# steps: -# - uses: actions/checkout@v2 -# - uses: actions/setup-python@v2 -# with: -# python-version: 3.8 -# - name: Build and test -# run : | -# python setup.py sdist -# - name: Publish package -# uses: pypa/gh-action-pypi-publish@54b39fb9371c0b3a6f9f14bb8a67394defc7a806 -# with: -# user: __token__ -# password: ${{ secrets.PYPI_API_TOKEN }} + publish: + needs: test + runs-on: ubuntu-latest + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/client') + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: 3.8 + - name: Build and test + run : | + python setup.py sdist + - name: Publish package + uses: pypa/gh-action-pypi-publish@54b39fb9371c0b3a6f9f14bb8a67394defc7a806 + with: + user: __token__ + password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/neptune/__init__.py b/neptune/__init__.py index 65c3334bd..a5c2deaee 100644 --- a/neptune/__init__.py +++ b/neptune/__init__.py @@ -29,7 +29,7 @@ from neptune.sessions import Session from ._version import get_versions -__version__ = "1.0.0" # get_versions()['version'] +__version__ = get_versions()['version'] del get_versions