Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

release-please-configuration

БесплатноБез исполняемых скриптовНе проверен

release-please monorepo config — component tags, per-package extra-files, tag migration. Use when adding packages or fixing duplicate-tag / no-bump failures.

laurigatesот laurigates★ 61 звезда на GitHub12 установок в других каталогах

Об этом скилле

Release-Please Monorepo Configuration

Monorepo-specific release-please strategy: component tagging, per-package extra-files, linked versions, and the shared→component tag migration. For the single-repo workflow/manifest/config shape, the conventional-commit version-bump rules, and compliance auditing, use configure-plugin:configure-release-please.

When to Use This Skill

Use this skill when... Use the alternative when...
Configuring component/include-component-in-tag for a multi-package repo Setting up a single-repo release-please (workflow, manifest, config shape) — use configure-plugin:configure-release-please
Adding a new package to a monorepo's release-please config Auditing an existing setup against documented conventions — use configure-plugin:configure-release-please
Fixing duplicate-tag, multiple-paths, or per-package no-bump failures Actually merging release-please PRs — use release-please-pr-workflow
Migrating from shared v1.0.0 tags to component-v1.0.0 tags Detecting manual edits to managed files — use release-please-protection
Setting per-package extra-files (JSON/YAML/TOML/XML version locations) Release-As: trailer-based one-off overrides — use git-commit-trailers

Core Files

File Purpose
release-please-config.json Per-package config, changelog sections, extra-files
.release-please-manifest.json Current version for each package/component
.github/workflows/release-please.yml GitHub Actions workflow (see configure-plugin:configure-release-please REFERENCE.md for the shape)

Monorepo Configuration

Critical Settings for Monorepos

{
  "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
  "include-component-in-tag": true,
  "separate-pull-requests": true,
  "packages": {
    "package-a": {
      "component": "package-a",
      "release-type": "simple",
      "extra-files": ["package-a/version.json"]
    }
  }
}

Key Fields:

Field Required Purpose
include-component-in-tag Yes (monorepo) Creates package-a-v1.0.0 tags instead of v1.0.0
component Yes (monorepo) Unique identifier for each package; must be set for every package
separate-pull-requests Recommended Creates per-package release PRs instead of combined

Linked Versions

To keep a set of components on the same version, use the linked-versions plugin:

{
  "packages": {
    "packages/frontend": {"release-type": "node", "component": "frontend"},
    "packages/backend": {"release-type": "node", "component": "backend"}
  },
  "plugins": [
    "node-workspace",
    {
      "type": "linked-versions",
      "groupName": "workspace",
      "components": ["frontend", "backend"]
    }
  ]
}

Common Failure: Duplicate Release Tags

Symptom: Workflow fails with Duplicate release tag: v2.0.0

Cause: All packages try to create the same tag (e.g., v2.0.0) because:

  1. Missing include-component-in-tag: true at root level
  2. Missing component field in each package

Fix:

{
  "include-component-in-tag": true,
  "packages": {
    "my-package": {
      "component": "my-package",  // Add this to every package
      ...
    }
  }
}

Common Failure: Multiple Paths Warning

Symptom: Multiple paths for : package-a, package-b

Cause: Empty component field (the : with nothing after it indicates empty string)

Fix: Ensure every package has "component": "package-name" set

Common Failure: Merged Release PR Never Tagged

Symptom: Every run after a grouped release PR merges aborts with:

There are untagged, merged release PRs outstanding - aborting

The workflow log also carries the tell:

pullRequestTitlePattern miss the part of '${component}'
pullRequestTitlePattern miss the part of '${scope}'

Cause: A custom pull-request-title-pattern (or group-pull-request-title-pattern) containing ${version} — or ${component} / ${scope} — on a grouped release PR (separate-pull-requests: false). Because a grouped PR spans many packages, there is no single version/component to substitute, so the pattern renders a bare title (e.g. chore: release with nothing after it). On the tagging pass release-please re-parses the merged PR's title back through that same pattern to recover which releases it represents; the bare title no longer matches the pattern, so the PR is never tagged. It stays autorelease: pending, and every subsequent run refuses to proceed while an untagged merged release PR is outstanding.

Fix: Drop the custom title patterns. The release-please defaults round-trip correctly for grouped PRs — they render a parseable title and the tagging pass recovers the releases from it.

// WRONG - ${version} on a grouped PR renders a bare, unparseable title
{
  "separ
Полный SKILL.md на GitHub

Установить release-please-configuration в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Write
Edit
Bash(gh pr list *)
Bash(gh run list *)
Bash(gh pr diff *)
Bash(gh pr checkout *)
Bash(gh pr edit *)
Bash(jq *)
Bash(grep *)
Grep
Glob
TodoWrite

Вложенные файлы

references/generic-updater.mdreferences/quick-reference.mdreferences/tag-migration.mdreferences/troubleshooting.mdreferences/uv-lock.md

FAQ

Что делает скилл release-please-configuration?

release-please monorepo config — component tags, per-package extra-files, tag migration. Use when adding packages or fixing duplicate-tag / no-bump failures.

Как установить скилл release-please-configuration?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл release-please-configuration запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить release-please-configuration с