diff --git a/.github/workflows/tiledb-cloud-py.yaml b/.github/workflows/tiledb-cloud-py.yaml index a200a35b..4b6f08a2 100644 --- a/.github/workflows/tiledb-cloud-py.yaml +++ b/.github/workflows/tiledb-cloud-py.yaml @@ -210,7 +210,7 @@ jobs: # Artifacts are uploaded to the real PyPI only when a release is published; # otherwise, they are sent just to the test instance. if: > - (github.event_name == 'release' && github.event.action == 'published') || + (github.event_name == 'release' && github.event.action == 'published' && ${{ startsWith(github.event.release.tag_name, 'v') }}) || (github.event_name == 'push') runs-on: ubuntu-20.04 diff --git a/README.md b/README.md index ba4b8304..ae2f2849 100644 --- a/README.md +++ b/README.md @@ -37,3 +37,7 @@ Documentation uses [Quarto](https://quarto.org/) style documentation. - These tests run on TileDB Cloud using your current environment variable `TILEDB_REST_TOKEN` -- you will need a valid API token for the tests to pass - For continuous integration, the token is configured for the `unittest` user and all tests should pass - For interactive use, if your `TILEDB_REST_TOKEN` points to your own account, most tests will run, except for those that explicitly check against contents of the `unittest` account which are skipped + +### Releasing + +Releasing is entirely automated. Releases made on GitHub using tags that start with "v", like "v0.12.28", trigger sdist and wheel builds and upload of those distributions to the Python Package Index.