Skip to content

Commit b936767

Browse files
committed
Update GitVersion to 6.1.x across multiple files.
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.
1 parent 48213da commit b936767

File tree

24 files changed

+35
-34
lines changed

24 files changed

+35
-34
lines changed

Diff for: .azure/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ variables:
1313
- name: DOTNET_CLI_TELEMETRY_OPTOUT
1414
value: 'true'
1515
- name: INPUT_VERSIONSPEC
16-
value: '6.0.x'
16+
value: '6.1.x'
1717
- name: INPUT_INCLUDEPRERELEASE
1818
value: 'false'
1919
- name: INPUT_IGNOREFAILEDSOURCES

Diff for: .azure/example-7.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- task: gitversion/[email protected]
1919
displayName: Install GitVersion
2020
inputs:
21-
versionSpec: '6.0.x'
21+
versionSpec: '6.1.x'
2222

2323
- task: gitversion/[email protected]
2424
displayName: Determine Version

Diff for: .azure/example-8.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- task: gitversion/[email protected]
1919
displayName: Install GitVersion
2020
inputs:
21-
versionSpec: '6.0.x'
21+
versionSpec: '6.1.x'
2222

2323
- task: gitversion/[email protected]
2424
displayName: Determine Version

Diff for: .azure/example-9.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ stages:
2121
- task: gitversion/[email protected]
2222
displayName: Install GitVersion
2323
inputs:
24-
versionSpec: '6.0.x'
24+
versionSpec: '6.1.x'
2525

2626
- task: gitversion/[email protected]
2727
displayName: Determine Version

Diff for: .github/workflows/checkout-path.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Install GitVersion
2929
uses: gittools/actions/gitversion/setup@main
3030
with:
31-
versionSpec: '6.0.x'
31+
versionSpec: '6.1.x'
3232

3333
- name: Determine version
3434
id: gitversion

Diff for: .github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
- name: gitversion/setup
5656
uses: ./gitversion/setup
5757
with:
58-
versionSpec: '6.0.x'
58+
versionSpec: '6.1.x'
5959
- name: gitversion/command (showvariable)
6060
uses: ./gitversion/command
6161
with:

Diff for: .github/workflows/example-7.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Install GitVersion
2020
uses: gittools/actions/gitversion/[email protected]
2121
with:
22-
versionSpec: '6.0.x'
22+
versionSpec: '6.1.x'
2323

2424
- name: Determine Version
2525
id: version_step # step id used as reference for output values

Diff for: .github/workflows/example-8.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Install GitVersion
2626
uses: gittools/actions/gitversion/[email protected]
2727
with:
28-
versionSpec: '6.0.x'
28+
versionSpec: '6.1.x'
2929

3030
- name: Determine Version
3131
id: version_step # step id used as reference for output values

Diff for: .github/workflows/prerelease.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Install GitVersion
3030
uses: ./gitversion/setup
3131
with:
32-
versionSpec: '6.0.x'
32+
versionSpec: '6.1.x'
3333
- name: Use GitVersion
3434
id: gitversion # step id used as reference for output values
3535
uses: ./gitversion/execute

Diff for: .github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install GitVersion
3131
uses: ./gitversion/setup
3232
with:
33-
versionSpec: '6.0.x'
33+
versionSpec: '6.1.x'
3434
- name: Install GitReleaseManager
3535
uses: ./gitreleasemanager/setup
3636
with:

Diff for: dist/azure/gitversion/setup/task.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"label": "The version spec",
2929
"defaultValue": "",
3030
"required": true,
31-
"helpMarkDown": "Required version in the form of 6.0.x or exact version like 6.0.0"
31+
"helpMarkDown": "Required version in the form of 6.1.x or exact version like 6.1.0"
3232
},
3333
{
3434
"name": "includePrerelease",

Diff for: docs/examples/azure/gitversion/command.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ steps:
1313
- task: gitversion/[email protected]
1414
displayName: Install GitVersion
1515
inputs:
16-
versionSpec: '6.0.x'
16+
versionSpec: '6.1.x'
1717
```
1818
1919
These steps are omitted from the examples for brevity.

Diff for: docs/examples/azure/gitversion/execute.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ steps:
1313
- task: gitversion/[email protected]
1414
displayName: Install GitVersion
1515
inputs:
16-
versionSpec: '6.0.x'
16+
versionSpec: '6.1.x'
1717
```
1818
1919
These steps are omitted from the examples for brevity.
@@ -253,7 +253,7 @@ jobs:
253253
- task: gitversion/[email protected]
254254
displayName: Install GitVersion
255255
inputs:
256-
versionSpec: '6.0.x'
256+
versionSpec: '6.1.x'
257257
258258
- task: gitversion/[email protected]
259259
displayName: Determine Version
@@ -323,7 +323,7 @@ jobs:
323323
- task: gitversion/[email protected]
324324
displayName: Install GitVersion
325325
inputs:
326-
versionSpec: '6.0.x'
326+
versionSpec: '6.1.x'
327327
328328
- task: gitversion/[email protected]
329329
displayName: Determine Version
@@ -414,7 +414,7 @@ stages:
414414
- task: gitversion/[email protected]
415415
displayName: Install GitVersion
416416
inputs:
417-
versionSpec: '6.0.x'
417+
versionSpec: '6.1.x'
418418
419419
- task: gitversion/[email protected]
420420
displayName: Determine Version

Diff for: docs/examples/azure/gitversion/setup.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The Setup GitVersion task accepts the following inputs:
1010

1111
```yaml
1212
versionSpec:
13-
description: Required version in the form of 6.0.x or exact version like 6.0.0.
13+
description: Required version in the form of 6.1.x or exact version like 6.1.0.
1414
required: true
1515
default: ''
1616
includePrerelease:
@@ -48,7 +48,7 @@ steps:
4848
- task: gitversion/[email protected]
4949
displayName: Install GitVersion
5050
inputs:
51-
versionSpec: '6.0.x'
51+
versionSpec: '6.1.x'
5252
```
5353
5454
### Example 2
@@ -72,7 +72,7 @@ steps:
7272
- task: gitversion/[email protected]
7373
displayName: Install GitVersion
7474
inputs:
75-
versionSpec: '6.0.x'
75+
versionSpec: '6.1.x'
7676
includePrerelease: true
7777
```
7878
@@ -85,6 +85,6 @@ steps:
8585
- task: gitversion/[email protected]
8686
displayName: Install GitVersion
8787
inputs:
88-
versionSpec: '6.0.x'
88+
versionSpec: '6.1.x'
8989
preferLatestVersion: true
9090
```

Diff for: docs/examples/github/gitversion/command.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ steps:
1515
- name: Install GitVersion
1616
uses: gittools/actions/gitversion/[email protected]
1717
with:
18-
versionSpec: '6.0.x'
18+
versionSpec: '6.1.x'
1919
```
2020
2121
These steps are omitted from the examples for brevity.

Diff for: docs/examples/github/gitversion/execute.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ steps:
1515
- name: Install GitVersion
1616
uses: gittools/actions/gitversion/[email protected]
1717
with:
18-
versionSpec: '6.0.x'
18+
versionSpec: '6.1.x'
1919
```
2020
2121
These steps are omitted from the examples for brevity.
@@ -248,7 +248,7 @@ jobs:
248248
- name: Install GitVersion
249249
uses: gittools/actions/gitversion/[email protected]
250250
with:
251-
versionSpec: '6.0.x'
251+
versionSpec: '6.1.x'
252252
253253
- name: Determine Version
254254
id: version_step # step id used as reference for output values
@@ -338,7 +338,7 @@ jobs:
338338
- name: Install GitVersion
339339
uses: gittools/actions/gitversion/[email protected]
340340
with:
341-
versionSpec: '6.0.x'
341+
versionSpec: '6.1.x'
342342
343343
- name: Determine Version
344344
id: version_step # step id used as reference for output values

Diff for: docs/examples/github/gitversion/setup.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The Setup GitVersion action accepts the following inputs:
1010

1111
```yaml
1212
versionSpec:
13-
description: Required version in the form of 6.0.x or exact version like 6.0.0.
13+
description: Required version in the form of 6.1.x or exact version like 6.1.0.
1414
required: true
1515
default: ''
1616
includePrerelease:
@@ -47,7 +47,7 @@ steps:
4747
- name: Install GitVersion
4848
uses: gittools/actions/gitversion/[email protected]
4949
with:
50-
versionSpec: '6.0.x'
50+
versionSpec: '6.1.x'
5151
```
5252
5353
### Example 2
@@ -71,7 +71,7 @@ steps:
7171
- name: Install GitVersion
7272
uses: gittools/actions/gitversion/[email protected]
7373
with:
74-
versionSpec: '6.0.x'
74+
versionSpec: '6.1.x'
7575
includePrerelease: true
7676
```
7777
@@ -84,6 +84,6 @@ steps:
8484
- name: Install GitVersion
8585
uses: gittools/actions/gitversion/[email protected]
8686
with:
87-
versionSpec: '6.0.x'
87+
versionSpec: '6.1.x'
8888
preferLatestVersion: true
8989
```

Diff for: docs/versions.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
| v1.x | `>=5.2.0 <6.1.0` | `>=0.10.0 <0.18.0` | `>=0.10.0 <0.20.0` | 2.220.0 |
66
| v2.x | `>=5.2.0 <6.1.0` | `>=0.10.0 <0.20.0` | `>=0.20.0` | 3.224.0 |
77
| v3.x | `>=5.2.0 <6.1.0` | `>=0.18.0 <0.20.0` | `>=0.20.0` | 3.224.0 |
8+
| v4.x | `>=6.1.0 <7.0.0` | `>=0.18.0 <0.20.0` | `>=0.20.0` | 3.224.0 |

Diff for: envs/gitversion/setup/azure.env

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ AGENT_TOOLSDIRECTORY=./.test/tools
44
INPUT_IGNOREFAILEDSOURCES=true
55
INPUT_INCLUDEPRERELEASE=false
66
INPUT_PREFERLATESTVERSION=false
7-
INPUT_VERSIONSPEC=6.0.x
7+
INPUT_VERSIONSPEC=6.1.x

Diff for: envs/gitversion/setup/github.env

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ RUNNER_TOOL_CACHE=./.test/tools
44
INPUT_IGNOREFAILEDSOURCES=true
55
INPUT_INCLUDEPRERELEASE=false
66
INPUT_PREFERLATESTVERSION=false
7-
INPUT_VERSIONSPEC=6.0.x
7+
INPUT_VERSIONSPEC=6.1.x

Diff for: envs/gitversion/setup/local.env

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ AGENT_TOOLS_DIR=./.test/tools
44
INPUT_IGNOREFAILEDSOURCES=true
55
INPUT_INCLUDEPRERELEASE=false
66
INPUT_PREFERLATESTVERSION=false
7-
INPUT_VERSIONSPEC=6.0.x
7+
INPUT_VERSIONSPEC=6.1.x

Diff for: gitversion/setup/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ runs:
1010

1111
inputs:
1212
versionSpec:
13-
description: Required version in the form of 6.0.x or exact version like 6.0.0
13+
description: Required version in the form of 6.1.x or exact version like 6.1.0
1414
required: true
1515
default: ''
1616
includePrerelease:

Diff for: src/__tests__/tools/common/settings.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { expectValidSettings } from './utils'
66
describe('SettingsProvider', () => {
77
it('should return SetupSettings', () => {
88
const settings: SetupSettings = {
9-
versionSpec: '6.0.x',
9+
versionSpec: '6.1.x',
1010
includePrerelease: false,
1111
ignoreFailedSources: true,
1212
preferLatestVersion: false

Diff for: src/__tests__/tools/gitversion/runner.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ describe('GitVersion Runner', () => {
1616

1717
const toolPathVariable = 'GITVERSION_PATH'
1818
const toolName = 'dotnet-gitversion'
19-
const versionSpec = '6.0.x'
19+
const versionSpec = '6.1.x'
2020

2121
function testOnAgent(agent: IBuildAgent): void {
2222
let version: string

0 commit comments

Comments
 (0)