Skip to content

Commit

Permalink
Add a tag name check for releases and some words about releases
Browse files Browse the repository at this point in the history
  • Loading branch information
sgillies committed Oct 11, 2024
1 parent 3b957a7 commit 98fbcbe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tiledb-cloud-py.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 98fbcbe

Please sign in to comment.