Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
arturcic committed Jan 22, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 48213da commit b936767
Showing 24 changed files with 35 additions and 34 deletions.
2 changes: 1 addition & 1 deletion .azure/ci.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion .azure/example-7.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion .azure/example-8.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion .azure/example-9.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion .github/workflows/checkout-path.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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:
2 changes: 1 addition & 1 deletion .github/workflows/example-7.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion .github/workflows/example-8.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ jobs:
- name: Install GitVersion
uses: ./gitversion/setup
with:
versionSpec: '6.0.x'
versionSpec: '6.1.x'
- name: Use GitVersion
id: gitversion # step id used as reference for output values
uses: ./gitversion/execute
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@ jobs:
- name: Install GitVersion
uses: ./gitversion/setup
with:
versionSpec: '6.0.x'
versionSpec: '6.1.x'
- name: Install GitReleaseManager
uses: ./gitreleasemanager/setup
with:
2 changes: 1 addition & 1 deletion dist/azure/gitversion/setup/task.json
Original file line number Diff line number Diff line change
@@ -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.1.0"
},
{
"name": "includePrerelease",
2 changes: 1 addition & 1 deletion docs/examples/azure/gitversion/command.md
Original file line number Diff line number Diff line change
@@ -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.
8 changes: 4 additions & 4 deletions docs/examples/azure/gitversion/execute.md
Original file line number Diff line number Diff line change
@@ -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.
@@ -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
@@ -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
@@ -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
8 changes: 4 additions & 4 deletions docs/examples/azure/gitversion/setup.md
Original file line number Diff line number Diff line change
@@ -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.1.0.
required: true
default: ''
includePrerelease:
@@ -48,7 +48,7 @@ steps:
- task: gitversion/[email protected]
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'
versionSpec: '6.1.x'
```
### Example 2
@@ -72,7 +72,7 @@ steps:
- task: gitversion/[email protected]
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'
versionSpec: '6.1.x'
includePrerelease: true
```
@@ -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
@@ -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.
6 changes: 3 additions & 3 deletions docs/examples/github/gitversion/execute.md
Original file line number Diff line number Diff line change
@@ -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.
@@ -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
@@ -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
8 changes: 4 additions & 4 deletions docs/examples/github/gitversion/setup.md
Original file line number Diff line number Diff line change
@@ -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.1.0.
required: true
default: ''
includePrerelease:
@@ -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
@@ -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
```
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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.1.0
required: true
default: ''
includePrerelease:
2 changes: 1 addition & 1 deletion src/__tests__/tools/common/settings.spec.ts
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion src/__tests__/tools/gitversion/runner.spec.ts
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b936767

Please sign in to comment.