release: bump version to 0.84.2
ci / backend (push) Waiting to run
ci / frontend (push) Waiting to run

This commit is contained in:
rayd1o committed 2026-12-05 01:56:03 +08:00
1 parent 5e6352f524
commit 30b44ec00d
77 files changed
+3312 -1039

No files matched your search

+2 -2
View File
@@ -487,9 +487,9 @@ Run the following command from the tagged commit.
python3 scripts/release_publish.py --tag "$(git describe --tags --exact-match)" --use-git-credential
```
The publisher classifies changed files from the tag commit (`scripts/release_scope.py`), builds Linux amd64 images only for changed services, and pushes OCI `release-manifest:<tag>` as the canonical deployment manifest. When a release contains no client or Earth hotfix update (`client.mode == "none"`), it skips desktop packaging and **does not create a Gitea Release**; Gitea Releases are created only for releases with L1 hotfixes (`hotfix`) or full desktop packages (`full`). Pass `--assets-dir client/release` to reuse complete packages and a hotfix built for that tag. Repeat the same command after an interrupted upload to reuse the original build and verified attachments. The workstation can go offline once publication succeeds.
The publisher classifies changed files from the tag commit (`scripts/release_scope.py`), builds Linux amd64 images only for changed services, and pushes OCI `release-manifest:<tag>` as the canonical deployment manifest. When a release contains no desktop shell update (`client.mode == "none"` or `"hotfix"`), it **does not create a Gitea Release** (for `hotfix`, the L1 Earth hotfix bundle and release notes are embedded directly inside OCI `release-manifest:<tag>` so Gitea `/releases/latest` always preserves full desktop installers); Gitea Releases are created only for full desktop client updates (`client.mode == "full"`). Pass `--assets-dir client/release` to reuse complete packages and a hotfix built for that tag. Repeat the same command after an interrupted upload to reuse the original build and verified attachments. The workstation can go offline once publication succeeds.
The production host checks the latest stable Git tags and OCI `release-manifest:<tag>` (plus Gitea Releases when client updates exist) approximately every two minutes using `planet-release-deploy.timer`. Once the manifest and digests are verified, it pulls only changed images by digest, backs up PostgreSQL, rolls out changed services, verifies endpoints, and publishes/verifies the Earth hotfix only when `client.mode != "none"`. The host retains its Compose configuration, memory limits, and data volumes. Apply the release-specific infrastructure migration first when a release requires new mounts, services, or incompatible database changes.
The production host checks the latest stable Git tags and OCI `release-manifest:<tag>` (plus Gitea Releases for full-shell or legacy releases) approximately every two minutes using `planet-release-deploy.timer`. Once the manifest and digests are verified, it pulls only changed images by digest, backs up PostgreSQL, rolls out changed services, verifies endpoints, and publishes/verifies the Earth hotfix from OCI or Gitea Release whenever `client.mode != "none"`. The host retains its Compose configuration, memory limits, and data volumes. Apply the release-specific infrastructure migration first when a release requires new mounts, services, or incompatible database changes.
A failed rollout restores the previous application images and hotfix manifest while preserving database writes. An interrupted rollout resumes recovery on the next check. A failed version waits for an explicit retry or a newer release. The most recent pre-change database backups and version records are under `/var/lib/planet-release-deploy/last-success/` and `last-failed/`. Retry after resolving the underlying error.