Skip to content

Commit

Permalink
update examples version to 3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
arturcic committed Dec 10, 2024
1 parent 6e906e1 commit 1b7ea2c
Show file tree
Hide file tree
Showing 26 changed files with 98 additions and 98 deletions.
4 changes: 2 additions & 2 deletions .azure/example-7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
- checkout: self
fetchDepth: 0

- task: gitversion/setup@3.0.4
- task: gitversion/setup@3.1.0
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'

- task: gitversion/execute@3.0.4
- task: gitversion/execute@3.1.0
displayName: Determine Version
name: version_step # step id used as reference for output values
inputs:
Expand Down
4 changes: 2 additions & 2 deletions .azure/example-8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
- checkout: self
fetchDepth: 0

- task: gitversion/setup@3.0.4
- task: gitversion/setup@3.1.0
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'

- task: gitversion/execute@3.0.4
- task: gitversion/execute@3.1.0
displayName: Determine Version
name: version_step # step id used as reference for output values
inputs:
Expand Down
4 changes: 2 additions & 2 deletions .azure/example-9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ stages:
- checkout: self
fetchDepth: 0

- task: gitversion/setup@3.0.4
- task: gitversion/setup@3.1.0
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'

- task: gitversion/execute@3.0.4
- task: gitversion/execute@3.1.0
displayName: Determine Version
name: version_step # step id used as reference for output values
inputs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/example-7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
fetch-depth: 0

- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v3.0.4
uses: gittools/actions/gitversion/setup@v3.1.0
with:
versionSpec: '6.0.x'

- name: Determine Version
id: version_step # step id used as reference for output values
uses: gittools/actions/gitversion/execute@v3.0.4
uses: gittools/actions/gitversion/execute@v3.1.0

- run: |
echo "FullSemVer (env.fullSemVer) : ${{ env.fullSemVer }}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/example-8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:
fetch-depth: 0

- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v3.0.4
uses: gittools/actions/gitversion/setup@v3.1.0
with:
versionSpec: '6.0.x'

- name: Determine Version
id: version_step # step id used as reference for output values
uses: gittools/actions/gitversion/execute@v3.0.4
uses: gittools/actions/gitversion/execute@v3.1.0

GitVersion_v6_cross_job_consumer_without_prefix:
name: GitVersion v6 (cross job consumer) - without prefix
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/azure/gitreleasemanager/addasset.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

```yaml
steps:
- task: gitreleasemanager/addasset@3.0.4
- task: gitreleasemanager/addasset@3.1.0
inputs:
token: '$(GITHUB_TOKEN)'
owner: 'someOwner'
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/azure/gitreleasemanager/close.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

```yaml
steps:
- task: gitreleasemanager/close@3.0.4
- task: gitreleasemanager/close@3.1.0
inputs:
token: '$(GITHUB_TOKEN)'
owner: 'someOwner'
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/azure/gitreleasemanager/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

```yaml
steps:
- task: gitreleasemanager/create@3.0.4
- task: gitreleasemanager/create@3.1.0
displayName: Create release with GitReleaseManager
inputs:
token: $(GITHUB_TOKEN)
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/azure/gitreleasemanager/discard.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

```yaml
steps:
- task: gitreleasemanager/discard@3.0.4
- task: gitreleasemanager/discard@3.1.0
inputs:
token: '$(GITHUB_TOKEN)'
owner: 'someOwner'
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/azure/gitreleasemanager/open.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

```yaml
steps:
- task: gitreleasemanager/open@3.0.4
- task: gitreleasemanager/open@3.1.0
inputs:
token: '$(GITHUB_TOKEN)'
owner: 'someOwner'
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/azure/gitreleasemanager/publish.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

```yaml
steps:
- task: gitreleasemanager/publish@3.0.4
- task: gitreleasemanager/publish@3.1.0
inputs:
token: '$(GITHUB_TOKEN)'
owner: 'someOwner'
Expand Down
8 changes: 4 additions & 4 deletions docs/examples/azure/gitreleasemanager/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Find out how to use the **gitreleasemanager/setup** task using the examples below.

> The examples use version _3.0.4_ of the GitReleaseManager Setup task. It is recommended to use the latest released version in your own workflows.
> The examples use version _3.1.0_ of the GitReleaseManager Setup task. It is recommended to use the latest released version in your own workflows.
## Inputs

Expand All @@ -29,7 +29,7 @@ Install the latest GitReleaseManager 0.18.x version.
```yaml
steps:
- task: gitreleasemanager/setup@3.0.4
- task: gitreleasemanager/setup@3.1.0
displayName: Install GitReleaseManager
inputs:
versionSpec: '0.18.x'
Expand All @@ -41,7 +41,7 @@ Install specific GitReleaseManager version 0.18.0.
```yaml
steps:
- task: gitreleasemanager/setup@3.0.4
- task: gitreleasemanager/setup@3.1.0
displayName: Install GitReleaseManager
inputs:
versionSpec: '0.18.0'
Expand All @@ -53,7 +53,7 @@ Install the latest GitReleaseManager 0.18.x version even it there is a cached ve
```yaml
steps:
- task: gitreleasemanager/setup@3.0.4
- task: gitreleasemanager/setup@3.1.0
displayName: Install GitReleaseManager
inputs:
versionSpec: '0.18.x'
Expand Down
16 changes: 8 additions & 8 deletions docs/examples/azure/gitversion/command.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ steps:
- checkout: self
fetchDepth: 0

- task: gitversion/setup@3.0.4
- task: gitversion/setup@3.1.0
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'
```
These steps are omitted from the examples for brevity.
> The examples use version _3.0.4_ of the GitVersion Command task. It is recommended to use the latest released version in your own workflows.
> The examples use version _3.1.0_ of the GitVersion Command task. It is recommended to use the latest released version in your own workflows.
## Inputs
Expand Down Expand Up @@ -50,9 +50,9 @@ arguments:
```yaml
steps:
# gitversion/setup@3.0.4 task omitted for brevity.
# gitversion/setup@3.1.0 task omitted for brevity.

- task: gitversion/command@3.0.4
- task: gitversion/command@3.1.0
displayName: Display GitVersion config
inputs:
arguments: '/showConfig'
Expand All @@ -67,9 +67,9 @@ steps:
```yaml
steps:
# gitversion/setup@3.0.4 task omitted for brevity.
# gitversion/setup@3.1.0 task omitted for brevity.

- task: gitversion/command@3.0.4
- task: gitversion/command@3.1.0
displayName: Output the FullSemVer variable
inputs:
arguments: '/showvariable FullSemVer'
Expand All @@ -84,9 +84,9 @@ steps:
```yaml
steps:
# gitversion/setup@3.0.4 task omitted for brevity.
# gitversion/setup@3.1.0 task omitted for brevity.

- task: gitversion/command@3.0.4
- task: gitversion/command@3.1.0
displayName: Output the formatted version
inputs:
arguments: '/format {Major}.{Minor}' # any Output Variable can be used here
Expand Down
44 changes: 22 additions & 22 deletions docs/examples/azure/gitversion/execute.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ steps:
- checkout: self
fetchDepth: 0

- task: gitversion/setup@3.0.4
- task: gitversion/setup@3.1.0
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'
```
These steps are omitted from the examples for brevity.
> The examples use version _3.0.4_ of the GitVersion Execute task. It is recommended to use the latest released version in your own workflows.
> The examples use version _3.1.0_ of the GitVersion Execute task. It is recommended to use the latest released version in your own workflows.
## Inputs
Expand Down Expand Up @@ -53,7 +53,7 @@ overrideConfig:
description: |
Optional override for the configuration file. This should be newline-separated key-value pairs, e.g.:
update-build-number=false
next-version=3.0.4
next-version=3.1.0
required: false
default: ''
updateAssemblyInfo:
Expand Down Expand Up @@ -114,9 +114,9 @@ The Execute GitVersion task creates the following job-scoped variables and multi
```yaml
steps:
# gitversion/setup@3.0.4 task omitted for brevity.
# gitversion/setup@3.1.0 task omitted for brevity.

- task: gitversion/execute@3.0.4
- task: gitversion/execute@3.1.0
displayName: Determine Version
```
Expand All @@ -129,9 +129,9 @@ steps:
```yaml
steps:
# gitversion/setup@3.0.4 task omitted for brevity.
# gitversion/setup@3.1.0 task omitted for brevity.

- task: gitversion/execute@3.0.4
- task: gitversion/execute@3.1.0
displayName: Determine Version
inputs:
useConfigFile: true
Expand All @@ -158,9 +158,9 @@ branches:
```yaml
steps:
# gitversion/setup@3.0.4 task omitted for brevity.
# gitversion/setup@3.1.0 task omitted for brevity.

- task: gitversion/execute@3.0.4
- task: gitversion/execute@3.1.0
displayName: Determine Version
inputs:
useConfigFile: true
Expand All @@ -176,9 +176,9 @@ steps:
```yaml
steps:
# gitversion/setup@3.0.4 task omitted for brevity.
# gitversion/setup@3.1.0 task omitted for brevity.

- task: gitversion/execute@3.0.4
- task: gitversion/execute@3.1.0
displayName: Determine Version
inputs:
disableCache: true
Expand All @@ -194,9 +194,9 @@ steps:
```yaml
steps:
# gitversion/setup@3.0.4 task omitted for brevity.
# gitversion/setup@3.1.0 task omitted for brevity.

- task: gitversion/execute@3.0.4
- task: gitversion/execute@3.1.0
displayName: Determine Version
inputs:
updateAssemblyInfo: true
Expand All @@ -211,14 +211,14 @@ steps:
```yaml
steps:
# gitversion/setup@3.0.4 task omitted for brevity.
# gitversion/setup@3.1.0 task omitted for brevity.

- task: gitversion/execute@3.0.4
- task: gitversion/execute@3.1.0
displayName: Determine Version
inputs:
overrideConfig: |
update-build-number=false
next-version=3.0.4
next-version=3.1.0
```
</details>
Expand Down Expand Up @@ -250,12 +250,12 @@ jobs:
- checkout: self
fetchDepth: 0
- task: gitversion/setup@3.0.4
- task: gitversion/setup@3.1.0
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'
- task: gitversion/execute@3.0.4
- task: gitversion/execute@3.1.0
displayName: Determine Version
name: version_step # step id used as reference for output values
inputs:
Expand Down Expand Up @@ -320,12 +320,12 @@ jobs:
- checkout: self
fetchDepth: 0
- task: gitversion/setup@3.0.4
- task: gitversion/setup@3.1.0
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'
- task: gitversion/execute@3.0.4
- task: gitversion/execute@3.1.0
displayName: Determine Version
name: version_step # step id used as reference for output values
inputs:
Expand Down Expand Up @@ -411,12 +411,12 @@ stages:
- checkout: self
fetchDepth: 0
- task: gitversion/setup@3.0.4
- task: gitversion/setup@3.1.0
displayName: Install GitVersion
inputs:
versionSpec: '6.0.x'
- task: gitversion/execute@3.0.4
- task: gitversion/execute@3.1.0
displayName: Determine Version
name: version_step # step id used as reference for output values
inputs:
Expand Down
Loading

0 comments on commit 1b7ea2c

Please sign in to comment.