Skip to main content

release

Use when asked to release Rslib for a specific version.

Informações da origem

Repositório
web-infra-dev/rslib
Última atividade na origem
9 de setembro de 2026 às 09:21
Idioma detectado do SKILL.md
inglês
Estrelas
1.043
Forks
67

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
release
description
Use when asked to release Rslib for a specific version.
metadata
{"internal":true}
# Release ## Input - Target version, for example `1.0.0` If the version is missing, ask for it before making changes. ## Steps 1. Check the worktree with `git status --short`. If there are uncommitted edits, stop and ask the user how to proceed. 2. Update only the `version` field in these files to the target version: - `packages/core/package.json` - `packages/plugin-dts/package.json` - `packages/create-rslib/package.json` 3. Create and switch to branch `release/v<version>`. If the branch already exists, stop and ask the user how to proceed. 4. Review the diff and confirm the change is limited to the three version bumps. 5. Create a commit with this exact message: `release: v<version>` 6. Push the branch, then create a GitHub PR with `gh pr create`. Use the same text for the PR title as the commit message: `release: v<version>` 7. Read the repository's PR template when available and follow its current headings and guidance. Explain that the PR prepares the release of `@rslib/core`, `rsbuild-plugin-dts`, and `create-rslib` at `<version>` by updating their package versions. Include the release link: `https://github.com/web-infra-dev/rslib/releases/tag/v<version>`. ## Notes - Do not modify unrelated dependency ranges such as `workspace:*` entries or the `rslib` npm alias in devDependencies.
Ver no GitHub