Skip to main content

prepare-release

Prepare a CLI11 release — changelog entry, version bump, README feature markers, and related version references.

소스 정보

저장소
CLIUtils/CLI11
최근 소스 활동
2026년 7월 31일 14:17
감지된 SKILL.md 언어
영어
스타
4,485
포크
480

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
prepare-release
description
Prepare a CLI11 release — changelog entry, version bump, README feature markers, and related version references.
# Prepare a CLI11 release When preparing a release (`chore: prepare X.Y.Z release`): ## Collect the changes List the merged PRs since the last release with `git log --oneline --first-parent v<last>..main`. Every user-visible change gets a changelog line. ## Changelog entry Add a `## Version X.Y.Z: <Short title>` section at the top of `CHANGELOG.md`. The heading becomes the name of the GitHub release, so give it a short title, such as `## Version 2.7.0: Audit and documentation`. - Start with a short prose paragraph that summarizes the release. - Group the entries under `### Added`, `### Changed`, `### Fixed`, `### Documentation`, and `### Internal` (and `### Removed`/`### Deprecated` if needed). `Documentation` covers docs-only changes; `Internal` covers CI, tests, and tooling changes with no user-visible effect. - Reference PRs as `[#1305][]` and put the matching link definitions (`[#1305]: https://github.com/CLIUtils/CLI11/pull/1305`) at the end of the version section — each section keeps its own definitions so an extracted section needs no fixup. ## Version bump Bump `include/CLI/Version.hpp`: the `CLI11_VERSION_MAJOR`/`MINOR`/`PATCH` macros and the `CLI11_VERSION` string. ## Other files - Only if not a patch release: Update the feature markers in `README.md`: remove the old 🆕 markers (the previous release's features) and change 🚧 markers (main-only features) to 🆕. Removing an emoji from a heading also changes its TOC anchor — drop the trailing `-` from the matching TOC links. - Check the copyright year in `LICENSE` and the version in `book/chapters/installation.md`. ## Verify CI extracts the release notes from the changelog on every build, so a version bump without a matching changelog section fails. Check locally: ```bash python3 scripts/ExtractReleaseNotes.py --title "$(python3 scripts/ExtractVersion.py)" python3 scripts/ExtractReleaseNotes.py "$(python3 scripts/ExtractVersion.py)" ``` ## After the PR merges Tell the user to tag the merge commit as `vX.Y.Z` and push the tag. CI then creates the GitHub release: the name comes from the changelog heading, the body from the changelog section, and the single header plus source packages are attached automatically.
GitHub에서 보기