new-release
БесплатноЗапускает вложенные скриптыНе проверенAutomate complete Multicluster Global Hub release workflow across 6 repositories including branch creation, OpenShift CI configuration, catalog OCP version…
Об этом скилле
Global Hub New Release Workflow
Automates the complete end-to-end workflow for cutting a new Multicluster Global Hub release across all 6 repositories with full automation.
Execution Instructions for Claude
CRITICAL - Synchronous Execution Required:
Run Synchronously: Execute the cut-release.sh script using the Bash tool WITHOUT the
run_in_backgroundparameter. The script must run synchronously to completion with a 600000ms (10 minute) timeout.No BashOutput Calls: DO NOT use the BashOutput tool. The command runs synchronously and returns complete output when finished.
When to Use This Skill
- Cutting a new Global Hub release (e.g., release-2.16, release-2.17)
- Updating an existing release branch with new configurations
- Setting up complete release infrastructure across all repositories
- Automating the entire release checklist workflow
- Creating coordinated PRs and branches for new releases
Important Requirements
RELEASE_BRANCH must be explicitly specified - The skill does NOT auto-detect release versions. You must provide the exact release branch name.
Two Operating Modes:
CREATE_BRANCHES=true: Create new release branches and push directly to upstream (for initial release creation)CREATE_BRANCHES=false(default): Update existing release branches via PR (for updating current releases)
Version Mapping (ACM to Global Hub)
The skill uses ACM release branch names as the primary input and automatically calculates the corresponding Global Hub version.
Version Mapping Table
| ACM Version | Release Branch | Global Hub Version | Bundle/Catalog Branch | OCP Versions |
|---|---|---|---|---|
| 2.14 | release-2.14 | v1.5.0 | release-1.5 | 4.15 - 4.19 |
| 2.15 | release-2.15 | v1.6.0 | release-1.6 | 4.16 - 4.20 |
| 2.16 | release-2.16 | v1.7.0 | release-1.7 | 4.17 - 4.21 |
| 2.17 | release-2.17 | v1.8.0 | release-1.8 | 4.18 - 4.22 |
| 2.18 | release-2.18 | v1.9.0 | release-1.9 | 4.19 - 4.23 |
Formulas:
- Global Hub version: v1.X.0 where X = ACM_MINOR - 9
- OCP versions: 4.(GH_MINOR + 10) to 4.(GH_MINOR + 14)
Example: ACM release-2.17 → Global Hub v1.8.0 → Bundle/Catalog release-1.8
Repository Workflow
The skill manages releases across 6 repositories, each with its own dedicated script.
Version example below uses release-2.17 / Global Hub v1.8.0 (globalhub-1-8)
Repository 1: multicluster-global-hub (Script 01)
Repository: stolostron/multicluster-global-hub
What it does (3-part workflow):
- Update main branch: Creates new
.tekton/configuration files for new version (e.g., globalhub-1-8) withtarget_branch="main", updatesContainerfile.*version labels - Create PR to main: Creates PR to upstream main with new release configurations
- Update previous release: Updates previous release branch's
.tekton/files to settarget_branchto the previous release branch (e.g., globalhub-1-7 files updated totarget_branch="release-2.16")
Key behavior:
- New
.tekton/files (e.g., globalhub-1-8) created by copying old files (globalhub-1-7), not renaming - Old
.tekton/files (globalhub-1-7) remain on main withtarget_branch="main" - Previous release branch gets updated so its files point to itself (not main)
- Ensures continuous file naming progression: globalhub-1-6 → globalhub-1-7 → globalhub-1-8
- The new tekton files on
mainwill be automatically synced to the current release branch (release-2.17) after the PR is merged — no separate PR needed for the current release branch
Expected PRs: 2
| PR | Target Branch | Content | Verification |
|---|---|---|---|
| PR to main | main |
New .tekton/globalhub-1-8-*.yaml files; old globalhub-1-7 files removed; Containerfile version updated; Makefile VERSION/CHANNELS updated |
Check .tekton/ has globalhub-1-8 files with target_branch=main (pull-request) and target_branch=release-2.17 (push) |
| PR to prev release | release-2.16 |
globalhub-1-7 pull-request.yaml target_branch changed from main → release-2.16 |
Verify *pull-request.yaml has target_branch=release-2.16 |
Repository 2: openshift/release (Script 02)
Repository: openshift/release
What it does:
- Updates main branch CI configuration (promotion, fast-forward)
- Creates new release pipeline configuration by copying from previous release
- Replaces version strings: ACM branch, version number, image prefix, GH version tag
- Auto-generates presubmit/postsubmit jobs using
make update+make jobs - Creates PR with all CI changes
Expected PRs: 1
| PR | Target Branch | Content | Verific
Установить new-release в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteBashGlobGrepВложенные файлы
FAQ
Что делает скилл new-release?
Automate complete Multicluster Global Hub release workflow across 6 repositories including branch creation, OpenShift CI configuration, catalog OCP version management, bundle updates, and PR creation. REQUIRES explicit RELEASE_BRANCH specification (e.g., RELEASE_BRANCH=release-2.17). Supports two modes - CREATE_BRANCHES=true (create branches) or false (update via PR). Keywords: release branch, global hub, openshift/release, catalog, bundle, CI configuration, OCP versions.
Как установить скилл new-release?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл new-release запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub