feat: use released VersionMark from NuGet in CI release process and lint scripts#69
Merged
Malcolmnixon merged 1 commit intomainfrom Apr 11, 2026
Conversation
…int scripts Agent-Logs-Url: https://github.com/demaconsulting/VersionMark/sessions/d93969e4-ec6b-44b2-a1fe-3a717b31fdcf Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
Malcolmnixon
April 11, 2026 23:35
View session
Malcolmnixon
approved these changes
Apr 11, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the repo’s CI/lint infrastructure to use the released VersionMark .NET local tool (dotnet versionmark) across linting and documentation-generation workflows, reserving the CI-built global versionmark tool for integration testing.
Changes:
- Added
demaconsulting.versionmark(v1.2.0) to the local tool manifest sodotnet versionmarkruns the released NuGet tool. - Updated
lint.shandlint.batto rundotnet versionmark --lintbetween ReqStream and ReviewMark lint steps. - Simplified
build-docsin.github/workflows/build.yamlby removing package-artifact download/global tool install, and switched VersionMark invocations todotnet versionmark.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| lint.sh | Adds dotnet versionmark --lint to the lint pipeline after tool restore. |
| lint.bat | Adds dotnet versionmark --lint to the Windows lint pipeline after tool restore. |
| .github/workflows/build.yaml | Removes global tool installation from build-docs and uses dotnet versionmark for capture/validate/publish; removes stale comments. |
| .config/dotnet-tools.json | Pins the released VersionMark tool in the local tool manifest (v1.2.0). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This was referenced Apr 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Description
Previously, the VersionMark repo avoided installing its own released package to prevent name collisions. Now that
dotnet versionmark(local tool) and the globally-installedversionmark(CI-built) occupy distinct paths, the released version can be used throughout the build pipeline — with the CI-built version reserved exclusively for integration tests..config/dotnet-tools.jsondemaconsulting.versionmark1.2.0 sodotnet versionmarkruns the released NuGet versionlint.sh/lint.batdotnet versionmark --lintbetween reqstream and reviewmark lint steps, making both scripts binary-identical to the TemplateDotNetTool templatebuild.yaml—build-docsjobversionmarkinvocations withdotnet versionmark(capture, validate, publish)build.yaml—quality-checks/buildjobsThe
integration-testjob is unchanged — it remains the only job that installs and runs the CI-built tool globally.Type of Change
Related Issues
Pre-Submission Checklist
Before submitting this pull request, ensure you have completed the following:
Build and Test
dotnet build --configuration Releasedotnet test --configuration Releasedotnet run --project src/DemaConsulting.VersionMark --configuration Release --framework net10.0--no-build -- --validateCode Quality
dotnet format --verify-no-changesQuality Checks
Please run the following checks before submitting:
cspell "**/*.{md,cs}"markdownlint "**/*.md"yamllint .Testing
Documentation
Additional Notes
No source or test code changes — CI/lint infrastructure only.