Publishing installer media
build-all.sh can upload the generated installer media to a GitHub release so
testers and users can download stable files for each platform.
./build-all.sh --publish
By default, publishing targets the DeepPhe/DeepPhe-Dist repository and a tag
named deepphe-installer-<version>, where <version> comes from the install4j
application version or the --release value.
Options
| Option | Effect |
|---|---|
--publish | Upload built .dmg, .exe, and .sh installer media with versioned filenames. |
--publish-tag TAG | Override the release tag. |
--publish-repo OWNER/REPO | Override the target GitHub repository. |
--release VERSION | Override the installer version and default publish tag. |
The DIST_REPO environment variable can also set the default publish
repository:
export DIST_REPO=DeepPhe/DeepPhe-Dist
./build-all.sh --publish
What The Script Does
- Builds installer media into
build/deepphe-installer/. - Reads
output.txtto find the generated media files. - Creates the target GitHub release if it does not already exist.
- Uploads
DeepPhe-<version>.dmg,DeepPhe_windows-<version>.exe, andDeepPhe_linux-x64-<version>.sh. - Uses
gh release upload --clobberso rebuilt assets for the same version keep the same filenames and download URLs.
Current 7.1 Resources
| Platform | Published installer | SHA-256 | Size |
|---|---|---|---|
| macOS | DeepPhe-7.1.dmg | 7ab36501f824bc20605f4075c0bfb7cc5e0fa6481c632784b0225b550f7d0f6e | 141 MB |
| Windows | DeepPhe_windows-7.1.exe | a1f55ad0ad200aa3ff7882796d10f755e9075074a892473d06e995bb26953558 | 134 MB |
| Linux | DeepPhe_linux-x64-7.1.sh | 53171da4f4d78565da4fabd6e8d5fdc297e588f580835271e01beda936958895 | 136 MB |
Requirements
ghmust be installed.gh auth statusmust succeed.- The authenticated account must be able to create releases and upload assets in the target repository.
--publish mutates a GitHub release. Use it only when the media has been built
intentionally and the target tag/repository are correct.
Useful Commands
Build unsigned test media and publish it to a test tag:
./build-all.sh --no-installer-signing --faster --publish --publish-tag deepphe-installer-test
Build a specific version and publish to the default versioned tag:
./build-all.sh --release 7.1 --publish
--test is a dry run and does not produce final media. If --publish and
--test are used together, the script skips publishing.