Skip to content

Commit 515d0e2

Browse files
author
HenkVanHoek
committed
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

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

.github/workflows/build_release.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@ jobs:
5252
- name: Build executables with PyInstaller
5353
run: python build.py
5454

55-
- name: Build downloader executable
56-
run: pyinstaller --distpath dist --workpath build downloader.spec
57-
5855
- name: Create package directory
5956
run: mkdir package
6057

0 commit comments

Comments
 (0)