release: iriz 0.2.4
This commit is contained in:
+4
-2
@@ -1,5 +1,7 @@
|
||||
# Build a macOS release
|
||||
|
||||
[Русский](RELEASING.ru.md) · [简体中文](RELEASING.zh.md)
|
||||
|
||||
The user install starts at [DOWNLOAD.md](DOWNLOAD.md). This page is for maintainers. The release builder does not stop or replace an installed app.
|
||||
|
||||
## One version, two file names
|
||||
@@ -52,11 +54,11 @@ For an experimental universal build, set `IRIZ_RELEASE_VARIANTS='arm64 universal
|
||||
|
||||
The **macOS release draft** workflow runs manually or on a `v*` tag in this public repository. It is inactive in forks and the private working repository. The tag, when present, must match `RELEASE_VERSION`.
|
||||
|
||||
The standard ARM64 `macos-26` runner uses Xcode 26.6, listed in [GitHub's runner image manifest](https://github.com/actions/runner-images/blob/0af81b6d930d02b52941d584bee9214c4bc228c6/images/macos/macos-26-arm64-Readme.md#xcode). The preflight checks the selected Xcode, Swift and macOS SDK before compiling. The runner runs the tests, builds the headless ad-hoc image and uploads exactly four files. A separate job verifies their checksums, version and source commit, then creates a **draft** release. It does not execute repository code with a write token. Existing releases and assets are never overwritten. A draft does not change the download button.
|
||||
The standard ARM64 `macos-26` runner uses Xcode 26.6, listed in [GitHub's runner image manifest](https://github.com/actions/runner-images/blob/0af81b6d930d02b52941d584bee9214c4bc228c6/images/macos/macos-26-arm64-Readme.md#xcode). The preflight checks the selected Xcode, Swift and macOS SDK before compiling. The runner runs the tests, builds the headless ad-hoc image and uploads five release inputs: four public files plus the generated release notes. A separate job verifies them, then creates a **draft** with exactly four public assets. It does not execute repository code with a write token. Existing releases and assets are never overwritten. A draft does not change the download button.
|
||||
|
||||
Before testing, the hosted-runner setup enables the built-in English and Russian input sources and sets iriz's own language preference to Russian. It does not select a different active keyboard, change the system language, grant permissions or replace the native keyboard map with a fixture. Setup refuses to write outside a GitHub-hosted macOS runner, and a failed prerequisite stops the build before the tests.
|
||||
|
||||
To verify the full build for a version that is already published, use **Run workflow → build_only: true**. This runs the tests, builds and verifies the DMG, and uploads the four files as an Actions artifact. The entire release-writing job is skipped: no draft, tag, asset or Latest change. With the default `false`, an already published release is a successful no-op only if its exact tag ref resolves to the commit that produced the build, including annotated tags. The job logs `already published, left unchanged` and neither edits the release nor uploads assets. This does not verify the existing assets; independent download and installation checks still decide acceptance. An existing draft, mismatched ref or source commit, invalid API response or API failure stops the job without writes. If no release exists, the job still creates only a new draft, without overwriting assets.
|
||||
To verify the full build for a version that is already published, use **Run workflow → build_only: true**. This runs the tests, builds and verifies the DMG, and uploads all five inputs as an Actions artifact. The generated notes are staging input, not a public release asset. The entire release-writing job is skipped: no draft, tag, asset or Latest change. With the default `false`, an already published release is a successful no-op only if its exact tag ref resolves to the commit that produced the build, including annotated tags. The job logs `already published, left unchanged` and neither edits the release nor uploads assets. This does not verify the existing assets; independent download and installation checks still decide acceptance. An existing draft, mismatched ref or source commit, invalid API response or API failure stops the job without writes. If no release exists, the job still creates only a new draft, without overwriting assets.
|
||||
|
||||
A maintainer reviews the draft, the release notes and a clean-machine install, runs the publication checks, then publishes it. Publishing is a separate action. No Apple credentials are required by this workflow and no background updater is installed in the app.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user