This project uses GitHub Actions to automatically build and package the application for different platforms when a new version is released.
The CI/CD pipeline will:
- Build Python package files (wheel and source distribution)
- Create a Windows zip package with installation script
- Create a Unix (macOS/Linux) zip package with installation script
- Upload all artifacts as GitHub release assets
There are two ways to trigger the build workflow:
To create a new release:
# Tag a new version
git tag -a v1.0.0 -m "Release version 1.0.0"
# Push the tag to GitHub
git push origin v1.0.0This will automatically trigger the workflow and create a GitHub release with all the package assets.
You can also manually trigger the workflow from the GitHub Actions tab:
- Go to the GitHub repository
- Click on the "Actions" tab
- Select the "Build and Package" workflow
- Click "Run workflow" button
- Choose the branch to build from
- Click "Run workflow"
The workflow creates three types of packages:
.whlfile for pip installation.tar.gzsource distribution
Contains:
- All source code files
- Windows installation script (
install_and_run.bat) - PowerShell script to create desktop shortcut
- Windows-specific README
Contains:
- All source code files
- Unix installation script (
install_and_run.sh) - Linux desktop file for application menu
- Unix-specific README for macOS and Linux
- Download the appropriate package for your operating system from the latest GitHub release
- Extract the zip file
- Follow the platform-specific instructions in the README
# Install from PyPI (if published)
pip install hunchbank-auto-email-support
# Or install from wheel file
pip install hunchbank_auto_email_support-1.0.0-py3-none-any.whlTo customize the build process, edit the workflow file at .github/workflows/build.yml.
The CI/CD pipeline requires:
- GitHub repository with Actions enabled
- Python 3.11 (provided by the workflow)
- Valid setup.py file for packaging