update-latest

command
v1.58.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2026 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Command update-latest points latest/COMMIT in encore-releases2 at the commit whose build was just finalized, so tooling can find the newest build of main without knowing its sha: read latest/COMMIT, then fetch latest/<sha>/encore-<os>_<arch>.tar.gz.

It only ever writes the pointer for a build stored under latest/<commit>, and refuses any other prefix, so a proper release can't end up behind it. Runs of the workflow are serialized by its concurrency group, so on push the pointer advances in commit order; re-running an older run's finalize job moves it back to that (complete) build until the next push.

Configuration (environment variables):

R_COMMIT             the commit sha this build was made from
R_VERSION            release version, e.g. "v0.0.0-develop+<commit>"
R_RELEASE_PREFIX     object prefix in the bucket; must be "latest/<commit>"
RUNNER_TEMP          scratch directory

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址