Commit d4e33fa
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 #91 parent c05ac46 commit d4e33fa
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments