Skip to content
Skills Library
DevOps & cloud · Automation

release-train

/release-train

Sequence a full Legend stack release across repos — shared, pure, engine, sdlc, depot — in dependency order, bumping each consumer's version properties as the previous one lands on Central. Use for "release the stack", "do the full release train", "release everything for 4.101", "what's next in the train".

Author
finos ↗
Licence
Apache-2.0
Last repository change
27.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Sequence a full Legend stack release across repos — shared, pure, engine, sdlc, depot — in dependency order, bumping each consumer's version properties as the previous one lands on Central. Use for "release the stack", "do the full release train", "release everything for 4.101", "what's next in the train".

Triggers from the description

release the stackdo the full release trainrelease everything for 4.101what
Original author description

Sequence a full Legend stack release across repos — shared, pure, engine, sdlc, depot — in dependency order, bumping each consumer's version properties as the previous one lands on Central. Use for "release the stack", "do the full release train", "release everything for 4.101", "what's next in the train".

How it works

  1. Per hop
  2. Version numbering
  3. Failure mid-train
  4. Reporting
Original SKILL.md headings · 70 lines, 434 words
SKILL.md preview
---
name: release-train
description: Sequence a full Legend stack release across repos — shared, pure, engine, sdlc, depot — in dependency order, bumping each consumer's version properties as the previous one lands on Central. Use for "release the stack", "do the full release train", "release everything for 4.101", "what's next in the train".
---

# Legend stack release train

Releasing the whole stack in dependency order. Each repo consumes the versions
published by the ones before it, so the order is not negotiable and each hop
waits for the previous one to be **readable on Central** — not merely "published".

```
legend-shared → legend-pure → legend-engine → legend-sdlc → legend-depot
```

This skill drives all five repos, so it needs a checkout of each — see
"Checkouts" in `../release-preflight/references/repo-matrix.md` (relative to this
skill's directory). Read that file first: the five repos do not share a release
mechanism.

`legend-stack-release.yml` exists in every repo and is believed stale. The train
is sequenced by hand, one `release.yml` dispatch per repo. Do not trigger the
stack workflow without asking.

## Per hop

For each repo in order:

1. **Bump the version properties** it pins to the versions just released
   upstream. From the matrix:
   - `legend-engine`: `legend.pure.version`, `legend.shared.version`
   - `legend-sdlc`: `legend.engine.version`, `legend.pure.version`, `legend.shared.version`
   - `legend-depot`: `legend.shared.version`, `legend.engine.version`, `legend.sdlc.version`
   ```bash
   mvn versions:set-property -Dproperty=<prop> -DnewVersion=<v> -DgenerateBackupPoms=false
   ```
   Commit and push this **before** dispatching — the release builds what is on
   the branch. Confirm the push, as with any mutation.
2. **Preflight** — run `release-preflight` for that repo and version.
3. **Dispatch** — run `release-dispatch`. Confirm each dispatch separately; do
   not batch-approve the whole train up front.
4. **Wait for readable on Central**, not just green CI. The next repo's build
   resolves the artifact, and Portal-published is not the same as readable on
   repo1:
   ```bash
   curl -s -o /dev/null -w '%{http_code}' \
     "https://repo1.maven.org/maven2/<group path>/<artifact>/<version>/<artifact>-<version>.pom"
   ```
   Poll until `200`. Only then start the next hop.
5. **Verify** — run `post-release-verify` before moving on. A half-published repo
   poisons every hop after it.

## Version numbering

Each repo has its **own independent artifact version** — engine `4.143.x`, sdlc
`0.232.x`, depot `2.96.x`, pure `5.97.x`, shared `0.37.x`. The release *branch*
name carries the Legend **stack** number (`release-legend-release-4.100`), which
is unrelated to any of them. Never derive one from the other; read each repo's
root pom for its current version and increment the patch unless told otherwise.

## Failure mid-train

Stop the train. A failed hop means every later repo would pin a version that does
not exist. Triage (`release-triage`), clean up if the release left a tag or
version commits (`release-cleanup`), fix, then resume from the failed repo — the
hops that already succeeded are published and immutable, so never re-run them
with the same version.

## Reporting

Keep a running summary: which repos are done and at what version, which is in
flight, which are pending. A stack release spans many hours and the user will
lose the thread otherwise.

Versions

The database has no other skills named release-train.

Database snapshot: 13.11.2026 · package version e486ee985ec8 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95pure-chain-update
    Procedure for git-syncing and rebuilding a local legend-pure + legend-engine checkout, in dependency order, with pinned dependency versions resynced. Run by hand, one project at a time, fixing problems as they surface. Use for 'update my project chain', 'pull latest and rebuild…
  • 100release-dispatch
    Dispatch a Legend release workflow and babysit it to completion — picks the right workflow, runs preflight, confirms, triggers, then watches and triages any failure. Use for "release 4.143.1", "cut a release off this branch", "run the release action", "kick off the release".
  • 100release-cleanup
    Undo a failed or partial Legend release — inspect what the release actually did, then surgically remove the tag and version-bump commits so the version can be cut again. Use for "the release failed, clean it up", "undo the release commits", "delete the tag so I can re-release",…
  • 100release
    Create a new release by bumping versions, tagging, pushing, and generating release notes. Use when the user wants to release a new version.
  • 100release
    Use when releasing a version, bumping project versions, or pushing release tags.
  • 86release
    Cut a release of one language's SDK with release-please, tags and release notes. Use when the user asks to release, publish, bump the version or write release notes.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.