Skip to main content

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

OptionEffect
--publishUpload built .dmg, .exe, and .sh installer media with versioned filenames.
--publish-tag TAGOverride the release tag.
--publish-repo OWNER/REPOOverride the target GitHub repository.
--release VERSIONOverride 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

  1. Builds installer media into build/deepphe-installer/.
  2. Reads output.txt to find the generated media files.
  3. Creates the target GitHub release if it does not already exist.
  4. Uploads DeepPhe-<version>.dmg, DeepPhe_windows-<version>.exe, and DeepPhe_linux-x64-<version>.sh.
  5. Uses gh release upload --clobber so rebuilt assets for the same version keep the same filenames and download URLs.

Current 7.1 Resources

PlatformPublished installerSHA-256Size
macOSDeepPhe-7.1.dmg7ab36501f824bc20605f4075c0bfb7cc5e0fa6481c632784b0225b550f7d0f6e141 MB
WindowsDeepPhe_windows-7.1.exea1f55ad0ad200aa3ff7882796d10f755e9075074a892473d06e995bb26953558134 MB
LinuxDeepPhe_linux-x64-7.1.sh53171da4f4d78565da4fabd6e8d5fdc297e588f580835271e01beda936958895136 MB

Requirements

  • gh must be installed.
  • gh auth status must succeed.
  • The authenticated account must be able to create releases and upload assets in the target repository.
Publishing changes remote release assets

--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.