Skip to content

Commit

Permalink
Update GitVersion dependency range to >=6.1.0 <7.0.0
Browse files Browse the repository at this point in the history
This change modifies the acceptable version range for the GitVersion tool, ensuring compatibility with versions starting from 6.1.0 up to, but not including, 7.0.0. This update is necessary to leverage the latest features and bug fixes while ensuring that future changes in version 7.0.0 do not introduce unforeseen issues.
  • Loading branch information
arturcic committed Jan 22, 2025
1 parent c60be73 commit 48213da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/__tests__/tools/gitversion/tool.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe('GitVersionTool', () => {
})

it('should return correct version range', () => {
expect(tool.versionRange).toBe('>=5.2.0 <6.1.0')
expect(tool.versionRange).toBe('>=6.1.0 <7.0.0')
})

it('should have settings provider defined', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/tools/gitversion/tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class GitVersionTool extends DotnetTool {
}

get versionRange(): string | null {
return '>=5.2.0 <6.1.0'
return '>=6.1.0 <7.0.0'
}

get settingsProvider(): IGitVersionSettingsProvider {
Expand Down

0 comments on commit 48213da

Please sign in to comment.