Към всички skills
release
Worktrunk release workflow. Use when user asks to "do a release", "release a new version", "cut a release", or wants to publish a new version to crates.io and GitHub.
Оригинален текст · няма потвърден превод на българскиПърво прочетете инструкцията.
Файлът се зарежда от посочения източник само по ваше действие. Можете да го прочетете тук, да го копирате или да го запазите като .md.
GitHub хранилище- Звезди на репото
- 8355
- Лиценз
- NOASSERTION
- Последна проверка на записа
- 23.09.2026 г.
Добавете в своя инструмент.
Командата отваря избора на skills от репозитория. Прочетете файла и условията на автора преди изпълнение.
npx skills add max-sixty/worktrunkСтраницата копира текст. Не инсталира и не изпълнява нищо на устройството ви.
Откъс от SKILL.md
Началото на файла на автора, без превод.
Release Workflow
Steps
- Sync the release branch with
main: The release worktree's branch lagsmainbetween releases — it's only reset tomainafter a release lands. Cutting from a stale branch silently drops everything merged since. Fast-forward to the tip ofmainbefore anything else:git fetch origin git merge --ff-only origin/main--ff-onlyadvances the branch when it's a strict ancestor oforigin/mainand fails (rather than creating a merge commit or discarding work) if it has diverged — reconcile manually before continuing. This is the release-branch equivalent ofwt up, spelled out because theupalias rebases each branch onto its own upstream (origin/release), notmain. Note the resulting commit SHA: this is the tip the changelog covers, and step 12 checks the changelog against everything that reachesmainbefore the tag. - Run tests: Two gates — the local suite and the full cross-platform suite.
- Local:
cargo run -- hook pre-merge --yes. - Cross-platform: dispatch the
nightlyworkflow on the cut-from tip and wait for it to go green. This is where a release gets its full linux/macos/windows validation: the PR path (ci.yaml) is moving to cargo-affected selection and will stop running the fulltestmatrix, whilenightlyhostsfull-tests(the full 3-OS suite) alongside feature-powerset, release-target, nix-flake, and minimal-versions. Benchmarks aren't part ofnightly— they run in their ownbenchmarks.yamland gate nothing.
Launch a ci-reporter to monitorgh workflow run nightly.yaml --ref main # Registration lags the dispatch, and a prior release may have left a # stale completed workflow_dispatch run — filter to the in-flight one. sleep 5 RUN=$(gh run list --workflow=nightly.yaml --event=workflow_dispatch --branch=main --limit 5 --json databaseId,status --jq 'map(select(.status != "completed")) | .[0].databaseId')$RUNto completion (avoidgh run watch— it can hang). Fix any failure before continuing.
- Local:
- Check current version: Read
versioninCargo.toml - Review commits: Check commits since last release to understand scope of changes. Audit the cumulative diff for the data-loss surface (see Data-Loss Surface Review) and documentation (see Documentation Review).
- Check library API compatibility (advisory): Run `cargo semver-checks