Skip to content

Commit

Permalink
Update GitVersion to 6.1.x across multiple files.
Browse files Browse the repository at this point in the history
This commit updates the version specification for GitVersion from '6.0.x' to '6.1.x' in various test files, documentation examples, and CI configuration files. These changes ensure consistency and alignment with the updated GitVersion.
  • Loading branch information
arturcic committed Dec 10, 2024
1 parent c895e5b commit e23a8c0
Show file tree
Hide file tree
Showing 20 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .azure/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ variables:
- name: DOTNET_CLI_TELEMETRY_OPTOUT
value: 'true'
- name: INPUT_VERSIONSPEC
value: '6.0.x'
value: '6.1.x'
- name: INPUT_INCLUDEPRERELEASE
value: 'false'
- name: INPUT_IGNOREFAILEDSOURCES
Expand Down
2 changes: 1 addition & 1 deletion .azure/example-7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- task: gitversion/setup@3.1.1
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'
versionSpec: '6.1.x'

- task: gitversion/execute@3.1.1
displayName: Determine Version
Expand Down
2 changes: 1 addition & 1 deletion .azure/example-8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- task: gitversion/setup@3.1.1
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'
versionSpec: '6.1.x'

- task: gitversion/execute@3.1.1
displayName: Determine Version
Expand Down
2 changes: 1 addition & 1 deletion .azure/example-9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ stages:
- task: gitversion/setup@3.1.1
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'
versionSpec: '6.1.x'

- task: gitversion/execute@3.1.1
displayName: Determine Version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/checkout-path.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@main
with:
versionSpec: '6.0.x'
versionSpec: '6.1.x'

- name: Determine version
id: gitversion
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: gitversion/setup
uses: ./gitversion/setup
with:
versionSpec: '6.0.x'
versionSpec: '6.1.x'
- name: gitversion/command (showvariable)
uses: ./gitversion/command
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/example-7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v3.1.1
with:
versionSpec: '6.0.x'
versionSpec: '6.1.x'

- name: Determine Version
id: version_step # step id used as reference for output values
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/example-8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v3.1.1
with:
versionSpec: '6.0.x'
versionSpec: '6.1.x'

- name: Determine Version
id: version_step # step id used as reference for output values
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Install GitVersion
uses: ./gitversion/setup
with:
versionSpec: '6.0.x'
versionSpec: '6.1.x'
- name: Install GitReleaseManager
uses: ./gitreleasemanager/setup
with:
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/azure/gitversion/command.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ steps:
- task: gitversion/setup@3.1.1
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'
versionSpec: '6.1.x'
```
These steps are omitted from the examples for brevity.
Expand Down
8 changes: 4 additions & 4 deletions docs/examples/azure/gitversion/execute.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ steps:
- task: gitversion/setup@3.1.1
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'
versionSpec: '6.1.x'
```
These steps are omitted from the examples for brevity.
Expand Down Expand Up @@ -253,7 +253,7 @@ jobs:
- task: gitversion/setup@3.1.1
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'
versionSpec: '6.1.x'
- task: gitversion/execute@3.1.1
displayName: Determine Version
Expand Down Expand Up @@ -323,7 +323,7 @@ jobs:
- task: gitversion/setup@3.1.1
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'
versionSpec: '6.1.x'
- task: gitversion/execute@3.1.1
displayName: Determine Version
Expand Down Expand Up @@ -414,7 +414,7 @@ stages:
- task: gitversion/setup@3.1.1
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'
versionSpec: '6.1.x'
- task: gitversion/execute@3.1.1
displayName: Determine Version
Expand Down
6 changes: 3 additions & 3 deletions docs/examples/azure/gitversion/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ steps:
- task: gitversion/setup@3.1.1
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'
versionSpec: '6.1.x'
```
### Example 2
Expand All @@ -72,7 +72,7 @@ steps:
- task: gitversion/setup@3.1.1
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'
versionSpec: '6.1.x'
includePrerelease: true
```
Expand All @@ -85,6 +85,6 @@ steps:
- task: gitversion/setup@3.1.1
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'
versionSpec: '6.1.x'
preferLatestVersion: true
```
2 changes: 1 addition & 1 deletion docs/examples/github/gitversion/command.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ steps:
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v3.1.1
with:
versionSpec: '6.0.x'
versionSpec: '6.1.x'
```
These steps are omitted from the examples for brevity.
Expand Down
6 changes: 3 additions & 3 deletions docs/examples/github/gitversion/execute.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ steps:
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v3.1.1
with:
versionSpec: '6.0.x'
versionSpec: '6.1.x'
```
These steps are omitted from the examples for brevity.
Expand Down Expand Up @@ -248,7 +248,7 @@ jobs:
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v3.1.1
with:
versionSpec: '6.0.x'
versionSpec: '6.1.x'
- name: Determine Version
id: version_step # step id used as reference for output values
Expand Down Expand Up @@ -338,7 +338,7 @@ jobs:
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v3.1.1
with:
versionSpec: '6.0.x'
versionSpec: '6.1.x'
- name: Determine Version
id: version_step # step id used as reference for output values
Expand Down
6 changes: 3 additions & 3 deletions docs/examples/github/gitversion/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ steps:
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v3.1.1
with:
versionSpec: '6.0.x'
versionSpec: '6.1.x'
```
### Example 2
Expand All @@ -71,7 +71,7 @@ steps:
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v3.1.1
with:
versionSpec: '6.0.x'
versionSpec: '6.1.x'
includePrerelease: true
```
Expand All @@ -84,6 +84,6 @@ steps:
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v3.1.1
with:
versionSpec: '6.0.x'
versionSpec: '6.1.x'
preferLatestVersion: true
```
2 changes: 1 addition & 1 deletion envs/gitversion/setup/azure.env
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ AGENT_TOOLSDIRECTORY=./.test/tools
INPUT_IGNOREFAILEDSOURCES=true
INPUT_INCLUDEPRERELEASE=false
INPUT_PREFERLATESTVERSION=false
INPUT_VERSIONSPEC=6.0.x
INPUT_VERSIONSPEC=6.1.x
2 changes: 1 addition & 1 deletion envs/gitversion/setup/github.env
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ RUNNER_TOOL_CACHE=./.test/tools
INPUT_IGNOREFAILEDSOURCES=true
INPUT_INCLUDEPRERELEASE=false
INPUT_PREFERLATESTVERSION=false
INPUT_VERSIONSPEC=6.0.x
INPUT_VERSIONSPEC=6.1.x
2 changes: 1 addition & 1 deletion envs/gitversion/setup/local.env
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ AGENT_TOOLS_DIR=./.test/tools
INPUT_IGNOREFAILEDSOURCES=true
INPUT_INCLUDEPRERELEASE=false
INPUT_PREFERLATESTVERSION=false
INPUT_VERSIONSPEC=6.0.x
INPUT_VERSIONSPEC=6.1.x
2 changes: 1 addition & 1 deletion src/__tests__/tools/common/settings.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { expectValidSettings } from './utils'
describe('SettingsProvider', () => {
it('should return SetupSettings', () => {
const settings: SetupSettings = {
versionSpec: '6.0.x',
versionSpec: '6.1.x',
includePrerelease: false,
ignoreFailedSources: true,
preferLatestVersion: false
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/tools/gitversion/runner.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe('GitVersion Runner', () => {

const toolPathVariable = 'GITVERSION_PATH'
const toolName = 'dotnet-gitversion'
const versionSpec = '6.0.x'
const versionSpec = '6.1.x'

function testOnAgent(agent: IBuildAgent): void {
let version: string
Expand Down

0 comments on commit e23a8c0

Please sign in to comment.