create-release
БесплатноБез исполняемых скриптовНе проверенCut a Backend.AI WebUI release — tag an alpha straight from `main`, or cut/update the `MAJOR.MINOR` release branch for beta/rc/stable — create the GitHub…
от lablup★ 137 звёзд на GitHubОб этом скилле
Create Release
Cut a Backend.AI WebUI release, create its GitHub release, and move main to the
next version.
Release model
| Release | Cut from | Release commit | main afterwards |
|---|---|---|---|
X.Y.0-alpha.N |
origin/main HEAD, tagged as is |
none | bump PR to X.Y.0-alpha.N+1 |
first freeze of X.Y — its first beta, rc or stable (usually X.Y.0-rc.0) |
origin/main → branch X.Y |
release: v{VERSION} on X.Y |
bump PR to the next line's alpha.0 |
| later beta / rc / stable / patch | origin/X.Y |
release: v{VERSION} on X.Y |
unchanged |
- Alphas are snapshots of
main.mainalready holds the next alpha version in every filemake versiontagwrites (the previous run's bump PR put it there), so the alpha tag goes onorigin/mainHEAD with no commit, no checkout and no release branch. - The release branch starts at the first freeze. The team usually goes
alpha →
rc.0without a beta, so "first freeze" means the first non-alpha release ofX.Y, whatever its suffix. From then on fixes reachX.Ythroughcherry-pick-to-release, not by mergingmain. - Build stamps are regenerated by the release build.
package.yml'sbuild_webrunsmake versiontag, sobuildNumber/buildDate/revisioninversion.jsonandindex.htmlmay be stale on the tagged commit. The version fields may not:build_macpackages the committedelectron-app/package.jsonwithout re-stamping it, so every filemake versiontagwrites must already read{VERSION}.
Version files: root package.json (the source, set by hand) and what
make versiontag writes from it — version.json, index.html,
manifest.json, react/package.json, packages/backend.ai-ui/package.json,
packages/backend.ai-docs-toolkit/package.json, electron-app/package.json.
Shell state does not survive between Bash tool calls. The $WT, $BWT,
$BASE_TAG below are placeholders: substitute the literal value in every
command, or set and use a variable within one call.
Arguments
$ARGUMENTS specifies the version to release (e.g., 26.4.0-alpha.1,
26.4.0-rc.0, 26.4.0). "다음 알파" / "next alpha" means the version
origin/main already reads.
If Arguments Not Provided
git fetch origin main --tags, then read the version fromgit show origin/main:package.json.- Look up what exists for main's line (
git tag -l 'vX.Y.*') and for every frozen line still in progress — a line with a beta/rc tag and no stablevX.Y.0yet (usually the previous line after itsrc.0). - Offer options via
AskUserQuestion, labels filled with computed versions:mainreadsX.Y.0-alpha.N, its tag does not exist, and the line is not frozen (step 1) →X.Y.0-alpha.N(recommended),X.Y.0-rc.0, custom.- The tag already exists → say the bump PR has not merged yet and offer only the freeze / custom options; another alpha would repeat a version.
- Each frozen line in progress → its next
rc.N(orbeta.N) and stableX.Y.0. A released line takes a patchX.Y.Z+1only when asked.
Process
1. Validate Prerequisites
- Validate the format:
X.Y.ZorX.Y.Z-{alpha|beta|rc}.N. - Fetch everything the run reads, so no decision rests on a stale ref:
git fetch origin main --tags git fetch origin X.Y 2>/dev/null || true # absent before the first freeze v{VERSION}must not exist (git rev-parse -q --verify refs/tags/v{VERSION}).- Classify the release:
- frozen = any tag
vX.Y.0-beta.*,vX.Y.0-rc.*orvX.Y.0exists. - alpha on a frozen line → stop:
mainalready carries the next line's work, so anX.Yalpha would publish it under the wrong line. - non-alpha on a line that is not frozen → first freeze (2b).
origin/mainmust still be on lineX.Y(itspackage.jsonreadsX.Y.0-…); if it already moved to a later line, stop — branching would ship that line's work. - non-alpha on a frozen line → later release (2c).
- frozen = any tag
- Never run in the user's checkout and never
git switcha localX.Ybranch: it may be checked out in another worktree. Each step that needs a tree creates a detached worktree under.claude/worktrees/and removes it when done. Stage withgit add -u, nevergit add -A.
2a. Alpha — tag main
No worktree needed.
- Every version file on
origin/mainmust read{VERSION}:git grep -n '"version": \|packageVers
Установить create-release в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл create-release?
Cut a Backend.AI WebUI release — tag an alpha straight from `main`, or cut/update the `MAJOR.MINOR` release branch for beta/rc/stable — create the GitHub release, and open the PR that moves `main` to its next version.
Как установить скилл create-release?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл create-release запускает скрипты?
Нет, скилл состоит только из инструкций (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