Conversation
Copilot
AI
changed the title
[WIP] Update output variables for GitVersion tool
Add VersionSourceSemVer and VersionSourceDistance output variables for GitVersion 6.6.0
Feb 7, 2026
There was a problem hiding this comment.
Pull request overview
Adds support for new GitVersion 6.6.0 output variables across the TypeScript model, GitHub Action metadata, Azure Pipelines task metadata, docs, and test fixtures.
Changes:
- Extend
GitVersionOutputwith optionalVersionSourceSemVerandVersionSourceDistance. - Publish/document new outputs and mark
commitsSinceVersionSourceas deprecated (GitHub + Azure docs/metadata). - Update GitVersion runner test fixtures to include the new fields.
Reviewed changes
Copilot reviewed 5 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/tools/gitversion/models.ts | Adds optional fields for the new GitVersion 6.6.0 outputs. |
| src/tests/tools/gitversion/runner.spec.ts | Extends extracted-output fixtures with the new fields. |
| gitversion/execute/action.yml | Declares two new GitHub Action outputs and deprecation text for the old one. |
| dist/azure/gitversion/execute/task.json | Adds an outputVariables allowlist including the new variables (and deprecation text). |
| docs/examples/github/gitversion/execute.md | Documents new outputs and deprecation notice. |
| docs/examples/azure/gitversion/execute.md | Documents new outputs and deprecation notice. |
| package-lock.json | Lockfile metadata churn ("peer": true flags) unrelated to the feature. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
arturcic
approved these changes
Feb 7, 2026
Copilot
AI
changed the title
Add VersionSourceSemVer and VersionSourceDistance output variables for GitVersion 6.6.0
Add new GitVersion 6.6.0 output variables: VersionSourceSemVer, VersionSourceDistance, VersionSourceIncrement
Feb 16, 2026
…r GitVersion 6.6.0 Co-authored-by: arturcic <1760506+arturcic@users.noreply.github.com>
…sion 6.6.0 variables Co-authored-by: arturcic <1760506+arturcic@users.noreply.github.com>
Co-authored-by: arturcic <1760506+arturcic@users.noreply.github.com>
abefda1 to
8ab16ca
Compare
|
Contributor
|
Thank you @Copilot for your contribution! |
Contributor
|
🎉 This issue has been resolved in version v4.3.0 🎉 Your GitReleaseManager bot 📦🚀 |
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.



GitVersion 6.6.0 introduces three new output variables and deprecates
CommitsSinceVersionSource(replaced byVersionSourceDistance, removal in v7.0.0).Changes
src/tools/gitversion/models.ts): Added optional fieldsVersionSourceSemVer,VersionSourceDistance,VersionSourceIncrementtoGitVersionOutput— optional since they only appear in ≥6.6.0, andwriteGitVersionToAgentalready iterates actual JSON keysgitversion/execute/action.yml): Declared new outputs with(since 6.6.0)annotations; added deprecation notice tocommitsSinceVersionSourcedist/azure/gitversion/execute/task.json): Added all three tooutputVariablesarray with matching annotationsdocs/examples/{github,azure}/gitversion/execute.md): Updated output variable listssrc/__tests__/tools/gitversion/runner.spec.ts): UpdatedcreateGitVersionFixtureto include new fields in test dataOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.