Skip to content

Commit

Permalink
Merge pull request #44 from TomAugspurger/release
Browse files Browse the repository at this point in the history
Release procedure.
  • Loading branch information
rabernat committed Oct 13, 2020
2 parents 4b0da52 + e46fed8 commit f0c8979
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: Release

on: [push]

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Install dependencies
run: |
python -m pip install -U pip wheel setuptools twine
- name: Build distributions
run: python setup.py sdist bdist_wheel

- name: Publish to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
user: tomaugspurger
password: ${{ secrets.pypi_token }}
16 changes: 16 additions & 0 deletions docs/contributing.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Contributing
============

Releasing
---------

On the master branch, with a clean checkout

.. code-block::
git commit --allow-empty -m "RLS: v0.2.0"
git tag -a 0.2.0 -m "RLS: 0.2.0"
git push upstream master --follow-tags
A GitHub Action should push the release to PyPI. After that, conda-forge's
bot will update the conda packages.
2 changes: 2 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ Contents
tutorial
api
algorithm
executors
release_notes
contributing


.. _Zarr: https://zarr.readthedocs.io/en/stable/
Expand Down
9 changes: 8 additions & 1 deletion rechunker/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,14 @@ def rechunk(
Implementation of the execution engine for copying between zarr arrays.
Supplying a custom Executor is currently even more experimental than the
rest of Rechunker: we expect the interface to evolve as we add more
executors and make no guarantees of backwards compatibility.
executors and make no guarantees of backwards compatibility. The
currently implemented executors are
* dask
* beam
* prefect
* python
* pywren
Returns
-------
Expand Down

0 comments on commit f0c8979

Please sign in to comment.