diff --git a/.github/workflows/wheel.yaml b/.github/workflows/wheel.yaml index 71a25305..cc133fc4 100644 --- a/.github/workflows/wheel.yaml +++ b/.github/workflows/wheel.yaml @@ -37,3 +37,37 @@ jobs: with: name: wheels path: ./wheelhouse + + build_sdist: + name: Build source distribution + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - uses: actions/setup-python@v2 + name: Install Python + with: + python-version: '3.7' + + - name: Build sdist + run: python setup.py sdist + + - uses: actions/upload-artifact@v2 + with: + path: dist/*.tar.gz + + upload_pypi: + needs: [build_wheels, build_sdist] + runs-on: ubuntu-latest + if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') + steps: + - uses: actions/download-artifact@v2 + with: + name: artifact + path: dist + + - uses: pypa/gh-action-pypi-publish@master + with: + user: __token__ + password: ${{ secrets.pypi_password }} + # To test: repository_url: https://test.pypi.org/legacy/ diff --git a/docs/index.rst b/docs/index.rst index 665bbd2f..2e540f25 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -91,6 +91,9 @@ documentation, code reviews, comments and/or ideas: * :user:`John Kirkham ` * :user:`Alistair Miles ` * :user:`Jeff Reback ` +* :user:`Trevor Manz ` +* :user:`Grzegorz Bokota ` +* :user:`Josh Moore ` Numcodecs bundles the `c-blosc `_ library. diff --git a/docs/release.rst b/docs/release.rst index a535f078..512af204 100644 --- a/docs/release.rst +++ b/docs/release.rst @@ -1,11 +1,19 @@ Release notes ============= -Upcoming Release ----------------- +.. _release_0.7.0: + +0.7.0 +----- + +* Automatically release to PyPI. + By :user:`Josh Moore `, :issue:`241`. + +* Build wheels on github actions. + By :user:`Grzegorz Bokota `, :issue:`224`. * Add Base64 codec. - By :user: `Trevor Manz `, :issue: `176`. + By :user:`Trevor Manz `, :issue:`176`. * Add partial decompression of Blosc compressed arrays. By :user:`Andrew Fulton `, :issue:`235`.