From 88d14f4dad8f475f99f510a8efd94e2a5dabe0e1 Mon Sep 17 00:00:00 2001 From: mignot Date: Fri, 27 Nov 2026 13:03:20 +0100 Subject: [PATCH] fix(release): regenerate the Claude scoped release rule Co-Authored-By: Claude Sonnet 5.5 --- .claude/rules/releases-use-script.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.claude/rules/releases-use-script.md b/.claude/rules/releases-use-script.md index 4284891..e25fa2d 100644 --- a/.claude/rules/releases-use-script.md +++ b/.claude/rules/releases-use-script.md @@ -5,9 +5,9 @@ paths: - "VERSION" --- -# Releases Must Use Script +# Release preparation -When the user asks for a "new release" (or equivalent wording), always use `.github/scripts/release.sh` from the repository root. +This repository uses Release Please. The script procedure below applies to legacy callers without a root `release-please-config.json`. - Determine bump type (`major`, `minor`, or `patch`) from user intent. - If bump type is unclear, ask a single clarifying question before running the script. @@ -23,6 +23,6 @@ Release-please repositories (a `release-please-config.json` exists at the root) - If auto-merge is refused or stays blocked, never merge the release PR directly without the user's agreement. - The exception covers only that auto-merge. Releases made with `release.sh`, pin bumps, manual tags and other repositories keep the confirmation rule above. -Examples: +Examples for legacy script callers: - "new release" -> ask whether `major`, `minor`, or `patch`, then run `.github/scripts/release.sh `. - "cut a patch release" -> run `.github/scripts/release.sh patch`.