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 11, 2024
1 parent e2a1911 commit 71952c6
Show file tree
Hide file tree
Showing 23 changed files with 34 additions and 33 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/[email protected]
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'
versionSpec: '6.1.x'

- task: gitversion/[email protected]
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/[email protected]
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'
versionSpec: '6.1.x'

- task: gitversion/[email protected]
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/[email protected]
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'
versionSpec: '6.1.x'

- task: gitversion/[email protected]
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/[email protected]
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/[email protected]
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 dist/azure/gitversion/setup/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"label": "The version spec",
"defaultValue": "",
"required": true,
"helpMarkDown": "Required version in the form of 6.0.x or exact version like 6.0.0"
"helpMarkDown": "Required version in the form of 6.1.x or exact version like 6.0.0"
},
{
"name": "includePrerelease",
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/[email protected]
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/[email protected]
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/[email protected]
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'
versionSpec: '6.1.x'
- task: gitversion/[email protected]
displayName: Determine Version
Expand Down Expand Up @@ -323,7 +323,7 @@ jobs:
- task: gitversion/[email protected]
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'
versionSpec: '6.1.x'
- task: gitversion/[email protected]
displayName: Determine Version
Expand Down Expand Up @@ -414,7 +414,7 @@ stages:
- task: gitversion/[email protected]
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'
versionSpec: '6.1.x'
- task: gitversion/[email protected]
displayName: Determine Version
Expand Down
8 changes: 4 additions & 4 deletions docs/examples/azure/gitversion/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The Setup GitVersion task accepts the following inputs:

```yaml
versionSpec:
description: Required version in the form of 6.0.x or exact version like 6.0.0.
description: Required version in the form of 6.1.x or exact version like 6.0.0.
required: true
default: ''
includePrerelease:
Expand Down Expand Up @@ -48,7 +48,7 @@ steps:
- task: gitversion/[email protected]
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'
versionSpec: '6.1.x'
```
### Example 2
Expand All @@ -72,7 +72,7 @@ steps:
- task: gitversion/[email protected]
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'
versionSpec: '6.1.x'
includePrerelease: true
```
Expand All @@ -85,6 +85,6 @@ steps:
- task: gitversion/[email protected]
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/[email protected]
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/[email protected]
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/[email protected]
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/[email protected]
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
8 changes: 4 additions & 4 deletions docs/examples/github/gitversion/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The Setup GitVersion action accepts the following inputs:

```yaml
versionSpec:
description: Required version in the form of 6.0.x or exact version like 6.0.0.
description: Required version in the form of 6.1.x or exact version like 6.0.0.
required: true
default: ''
includePrerelease:
Expand Down Expand Up @@ -47,7 +47,7 @@ steps:
- name: Install GitVersion
uses: gittools/actions/gitversion/[email protected]
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/[email protected]
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/[email protected]
with:
versionSpec: '6.0.x'
versionSpec: '6.1.x'
preferLatestVersion: true
```
1 change: 1 addition & 0 deletions docs/versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
| v1.x | `>=5.2.0 <6.1.0` | `>=0.10.0 <0.18.0` | `>=0.10.0 <0.20.0` | 2.220.0 |
| v2.x | `>=5.2.0 <6.1.0` | `>=0.10.0 <0.20.0` | `>=0.20.0` | 3.224.0 |
| v3.x | `>=5.2.0 <6.1.0` | `>=0.18.0 <0.20.0` | `>=0.20.0` | 3.224.0 |
| v4.x | `>=6.1.0 <7.0.0` | `>=0.18.0 <0.20.0` | `>=0.20.0` | 3.224.0 |
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 gitversion/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ runs:

inputs:
versionSpec:
description: Required version in the form of 6.0.x or exact version like 6.0.0
description: Required version in the form of 6.1.x or exact version like 6.0.0
required: true
default: ''
includePrerelease:
Expand Down
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 71952c6

Please sign in to comment.