This guide explains how to create distributable releases of dividex for Mac and Windows and publish them on GitHub.
- Build and package the release:
This creates
./create-release.sh 1.0.0
dividex-mac-v1.0.0.zip
-
Build and package the release:
.\create-release.ps1 1.0.0
Or using bash (Git Bash/WSL):
./create-release.sh 1.0.0 windows
This creates
dividex-windows-v1.0.0.zip -
Create GitHub Release:
- Go to your GitHub repository
- Click "Releases" → "Create a new release"
- Tag:
v1.0.0 - Title:
dividex v1.0.0 - Upload both zip files (Mac and Windows)
- Add release notes and publish
./create-release.sh [version] [platform]Examples:
./create-release.sh 1.0.0 # Builds for Mac (default)
./create-release.sh 1.0.0 mac # Explicitly build for MacOption 1: PowerShell (Recommended)
.\create-release.ps1 1.0.0Option 2: Bash script (Git Bash/WSL)
./create-release.sh 1.0.0 windowsThis will:
- Build the app in Release mode for the specified platform
- Create a zip file:
dividex-[platform]-v1.0.0.zip - Place it in the project root
- Navigate to your repository on GitHub
- Click "Releases" (in the right sidebar, or go to
https://github.com/yourusername/dividex/releases) - Click "Create a new release" or "Draft a new release"
- Fill in the release form:
- Choose a tag: Create new tag
v1.0.0(or your version) - Release title:
dividex v1.0.0 - Description: Add release notes:
## What's New - Feature 1 - Feature 2 - Bug fixes ## Installation ### macOS 1. Download `dividex-mac-v1.0.0.zip` 2. Extract the zip file 3. Double-click `dividex.app` to run ### Windows 1. Download `dividex-windows-v1.0.0.zip` 2. Extract the zip file 3. Run `dividex.exe` **Note (macOS)**: You may need to allow the app in System Settings → Privacy & Security
- Choose a tag: Create new tag
- Attach the zip files: Drag and drop both
dividex-mac-v1.0.0.zipanddividex-windows-v1.0.0.zipinto the "Attach binaries" area - Click "Publish release"
Users can now:
- Go to your repository's Releases page
- Download the appropriate zip file for their platform
- Extract it
- Run the application:
- macOS: Double-click
dividex.app - Windows: Run
dividex.exe
- macOS: Double-click
Security Note (macOS): Since the app isn't code-signed, macOS may show a security warning. Users need to:
- Right-click the app → Open (first time only)
- Or go to System Settings → Privacy & Security → Click "Open Anyway"
- Release build:
bin/Release/net10.0-maccatalyst/maccatalyst-arm64/dividex.app - Release zip:
dividex-mac-v[version].zip(in project root)
- Release build:
bin/Release/net10.0-windows10.0.19041.0/win-x64/dividex.exe(or win-x86, win-arm64) - Release zip:
dividex-windows-v[version].zip(in project root)
Use semantic versioning (e.g., 1.0.0, 1.1.0, 2.0.0):
- Major (2.0.0): Breaking changes
- Minor (1.1.0): New features, backward compatible
- Patch (1.0.1): Bug fixes
For automated releases, you can set up GitHub Actions to:
- Build on every tag push
- Create releases automatically
- Upload artifacts
See GitHub Actions documentation for more details.