Commit 515d0e2
HenkVanHoek
feat(release): add docs deployment and asset downloader
This commit introduces a major enhancement to the release and project tooling by adding a secure documentation deployment system and a standalone
asset downloader.
Key changes include:
- New 'deploy-docs' command: Added to release.py to build the MkDocs site and copy it to a destination specified in a .env file.
- Standalone Downloader:
- Created download_latest_release.py to allow users to easily fetch release assets.
- Added downloader.spec to compile the script into a standalone executable.
- Integrated the downloader build into the GitHub Actions workflow for cross-platform availability.
- The 'finalize' command now uploads this downloader as a release asset.
- Testing:
- Added comprehensive unit tests for the new 'deploy-docs' and downloader script functionality using pytest.
- Dependency Management:
- Removed the redundant requirements.txt in favor of pyproject.toml as the single source of truth.
- Added python-dotenv for configuration.
- Code Quality:
- Refactored release.py to use argparse for robust command handling.
- Resolved code quality warnings (e.g., variable shadowing).1 parent 85440f5 commit 515d0e2
1 file changed
+0
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | 55 | | |
59 | 56 | | |
60 | 57 | | |
| |||
0 commit comments