Skip to content

Commit e467246

Browse files
nanotaboadaclaude
andcommitted
chore(commands): inline build/test/format checks in pre-release
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent be09969 commit e467246

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

.claude/commands/pre-release.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,17 @@ proceeding. Never create a branch, commit, tag, or push without approval.
7474

7575
**Wait for explicit approval before committing.**
7676

77-
6. Run `/pre-commit`, manually skipping step 1 and step 5 — the CHANGELOG update
78-
and CodeRabbit review were already completed above. Open with: "Skip step 1
79-
(CHANGELOG already updated) and step 5 (CodeRabbit already run) — proceeding
80-
with steps 2–4."
77+
6. Run `dotnet build --configuration Release` — must succeed.
8178

82-
7. Propose opening a PR from `release/vX.Y.Z-{stadium}` into `master`.
79+
7. Run `dotnet test --settings .runsettings` — all tests must pass.
80+
81+
8. If `dotnet csharpier` is available, run `dotnet csharpier --check .` — must pass
82+
(run `dotnet csharpier .` to auto-fix). Skip with a note if not installed.
83+
84+
9. Propose opening a PR from `release/vX.Y.Z-{stadium}` into `master`.
8385
**Wait for explicit approval before opening.**
8486

85-
8. Open the PR with:
87+
10. Open the PR with:
8688
- Title: `docs(changelog): prepare release notes for vX.Y.Z-{stadium}`
8789
- Body summarising what is included in this release.
8890

0 commit comments

Comments
 (0)