Skip to content

Add nightly GitHub Release for tip builds #223

Description

@perbellinioa

Goal

Publish nightly Ghostty tip .deb packages directly as a GitHub prerelease, making it easy for users to install the latest nightly build without relying on the Launchpad nightly PPA (ppa:mkasberg/ghostty-ubuntu-nightly).

Current Behavior

  • install.sh installs from the latest stable GitHub Release in mkasberg/ghostty-ubuntu.
  • build-binary/build-ghostty.sh can already build Ghostty from upstream tip:
    build-binary/build-ghostty.sh tip
  • .github/workflows/binary-build.yml already supports:
    version_type: tip
  • .github/workflows/nightly.yml already builds tip, but only publishes to the nightly PPA:
    ppa:mkasberg/ghostty-ubuntu-nightly
    

There is currently no GitHub Release for nightly builds. Users who want a nightly .deb must either use the PPA or manually download artifacts from GitHub Actions runs.

Proposal

Add a dedicated GitHub Actions workflow .github/workflows/nightly-github-release.yml that:

  1. Runs on a nightly schedule (and/or manual workflow_dispatch).
  2. Calls .github/workflows/binary-build.yml with version_type: tip.
  3. Downloads the generated .deb artifacts.
  4. Publishes them to a GitHub Release tagged nightly.

Important caveats

  • The nightly release must be a prerelease and must not be marked as latest, so that install.sh and other tooling that fetches the latest release continue to point to stable versions.
  • The PPA publishing step is not required unless we also want to keep publishing to Launchpad in parallel.

Optional Enhancement

Add an install-nightly.sh script (similar to install.sh) that installs the latest nightly prerelease via curl, e.g.:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/mkasberg/ghostty-ubuntu/HEAD/install-nightly.sh)"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions