PR Checklist: Packaging, Versioning, CI, Docs
Before submitting a PR that changes code, packaging, or docs, run this checklist:
- Build & Test
- Run
dotnet restoreat repo root - Run
dotnet build -c Release - Run
dotnet test -c Release --no-build
- Run
- Versioning (if changing public API or package content)
- Bump the package version using
dotnet msbuild Build.proj /t:IncrementVersion /p:Level=Patchor edit the rootversion.propsand explain the change in PR. All packages share a single unified version. - Include the
version.propschange in your PR if you bumped versions.
- Bump the package version using
- Packaging
- Run
dotnet pack -c Release -o ./artifacts/packages <project.csproj>for changed projects and inspect.nupkgfor XML docs and README.md
- Run
- Dependency graph
- Run
pwsh ./scripts/generate-package-dependencies.ps1and verifypackage-dependencies.jsonreflects your changes (include updated manifest in PR if applicable)
- Run
- Documentation
- Update XML comments for public APIs
- Update
docs/markdown files under the project and run local doc generation if present - Verify
artifacts/docscontains updated documentation files
- CI & Publish
- If this PR should trigger a preview package, document how CI should publish (preview feed, tag, or manual)
- For releases, ensure tags follow the convention and include package id if you expect tag-triggered publish to infer the package
- PR description
- Document build and test commands you ran
- List files changed and any decisions about versioning/publishing
- Note if any CI secrets or environment updates are required
Notes
- Avoid committing package files or build artifacts under version control.
- Prefer to open a PR for version bumps so reviewers can validate and approve releases.