release-new-version
БесплатноБез исполняемых скриптовНе проверенRelease a new tracker version: version bump, staging branch, PR to main, tag, crate publication, merge-back. Use when asked to release or cut version vX.Y.Z.
от torrust★ 539 звёзд на GitHubОб этом скилле
Release New Version
Primary reference: docs/release-process/tracker.md
This skill releases the tracker binary only. To release a workspace package or a standalone crate,
use the release-workspace-package skill.
Release Steps (Mandatory Order)
- Stage
develop→staging/main - Create release commit (bump version)
- PR
staging/main→main - Push
main→releases/vX.Y.Z - Create signed tag
vX.Y.Zon that branch - Verify deployment workflow + crate publication
- Create GitHub release
- Stage
main→staging/develop(merge-back) - Bump next dev version, PR
staging/develop→develop
Do not reorder these steps.
Version Naming Rules
- Version in code:
X.Y.Z(release) orX.Y.Z-develop(development) - Git tag:
vX.Y.Z - Release branch:
releases/vX.Y.Z - Staging branches:
staging/main,staging/develop
Pre-Flight Checklist
Before starting:
- Clean working tree (
git status) -
developbranch is up to date withtorrust/develop - All CI checks pass on
develop - Working version in manifests is
X.Y.Z-develop
Commands
1) Stage develop → staging/main
git fetch --all
git push --force torrust develop:staging/main
2) Create Release Commit
git stash
git switch staging/main
git reset --hard torrust/staging/main
# Edit the `torrust-tracker` version in the root `Cargo.toml` and the
# `torrust-tracker` requirement of every manifest that depends on it
# (`packages/e2e-tools/Cargo.toml`, `packages/hung-component-tracker/Cargo.toml`;
# list them with `grep -rl --include=Cargo.toml '^torrust-tracker = ' packages`):
# change X.Y.Z-develop → X.Y.Z
git add -A
git commit -S -m "release: version X.Y.Z"
git push torrust
Bump only the torrust-tracker version and every requirement on it (a pre-release such as
3.0.1-develop matches only a requirement that names a pre-release of 3.0.1). Workspace packages version independently (see
the ADR),
so do not edit their versions here.
3) PR staging/main → main
Create PR: "Release Version X.Y.Z" (title format)
Base: torrust/torrust-tracker:main
Head: staging/main
Merge after CI passes.
4) Push releases/vX.Y.Z branch
git fetch --all
git push torrust main:releases/vX.Y.Z
5) Create Signed Tag
git switch releases/vX.Y.Z
git reset --hard torrust/releases/vX.Y.Z
git tag --sign vX.Y.Z
git push --tags torrust
6) Verify Deployment Workflow
Check the
deployment workflow
ran successfully and that torrust-tracker X.Y.Z is on crates.io. The workflow publishes only
torrust-tracker; the dependency crates were already published independently by
deployment-packages.yaml.
7) Create GitHub Release
Create a release from tag vX.Y.Z after the deployment workflow passes.
8) Merge-back: Stage main → staging/develop
git fetch --all
git push --force torrust main:staging/develop
9) Bump Next Dev Version
git stash
git switch staging/develop
git reset --hard torrust/staging/develop
# Edit the `torrust-tracker` version in the root `Cargo.toml` and the
# `torrust-tracker` requirement of every manifest that depends on it
# (`packages/e2e-tools/Cargo.toml`, `packages/hung-component-tracker/Cargo.toml`;
# list them with `grep -rl --include=Cargo.toml '^torrust-tracker = ' packages`):
# change X.Y.Z → (next)X.Y.Z-develop (e.g. 3.0.0 → 3.0.1-develop)
git add -A
git commit -S -m "develop: bump to version (next)X.Y.Z-develop"
git push torrust
Create PR: "Version X.Y.Z was Released"
Base: torrust/torrust-tracker:develop
Head: staging/develop
Failure Handling
- Deployment workflow failed: fix and rerun on same release branch
- Crate already published: do not republish; cut a patch release
- Partial state (tag exists but branch doesn't): investigate before proceeding
Установить release-new-version в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл release-new-version?
Release a new tracker version: version bump, staging branch, PR to main, tag, crate publication, merge-back. Use when asked to release or cut version vX.Y.Z.
Как установить скилл release-new-version?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл release-new-version запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic