Skip to content

Commit d4e33fa

Browse files
authored
Fix images not showing on PyPI readme (#29)
* Add smoother release workflow with bumpver (#23) - Make version dynamic via hatchling regex source (single source of truth: tidydraws/__init__.py), removing the literal version from pyproject.toml so it can never drift - Add bumpver config scoped to __init__.py with pre_commit_hook that re-derives uv.lock into the same commit - Add make release-patch/minor/major targets - Add release.yml workflow: tag push creates GitHub Release with auto-generated notes, which then triggers publish.yml - Simplify publish.yml: removed fragile inline version assertion - Add scripts/pre-bump.sh (uv lock + git add uv.lock) - Add venv-*/ to .gitignore to prevent stray venvs breaking uv build - Add Releasing section to CONTRIBUTING.md - GitHub: enforce_admins off (admin direct-push for bumps), tag protection ruleset (admin-only version tags), release environment requires admin approval for PyPI upload * Use absolute GitHub raw URLs for images so they render on PyPI Closes #9
1 parent c05ac46 commit d4e33fa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# tidydraws
22

3-
![tidydraws logo](docs/assets/logo.jpg)
3+
![tidydraws logo](https://raw.githubusercontent.com/drbenvincent/tidydraws/main/docs/assets/logo.jpg)
44

55
> A tidybayes-inspired data layer for declarative Bayesian visualisation in Python
66
@@ -12,7 +12,7 @@
1212
| [`prediction_draws()`](https://drbenvincent.github.io/tidydraws/docs/examples/prediction_draws.html) | prediction | ribbon + line, fit + data |
1313
| [`compare_draws()`](https://drbenvincent.github.io/tidydraws/docs/examples/compare_draws.html) | comparison | prior vs posterior, intervals |
1414

15-
![tidydraws example](docs/assets/index-plot.png)
15+
![tidydraws example](https://raw.githubusercontent.com/drbenvincent/tidydraws/main/docs/assets/index-plot.png)
1616

1717
## Install
1818

0 commit comments

Comments
 (0)