Skip to content

Commit

Permalink
update examples version to 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
arturcic committed Mar 12, 2024
1 parent a282519 commit 1c76555
Show file tree
Hide file tree
Showing 24 changed files with 84 additions and 84 deletions.
4 changes: 2 additions & 2 deletions .azure/example-10.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@1.0.0
- task: gitversion/setup@1.1.0
displayName: Install GitVersion
inputs:
versionSpec: '5.x'

- task: gitversion/execute@1.0.0
- task: gitversion/execute@1.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@1.0.0
- task: gitversion/setup@1.1.0
displayName: Install GitVersion
inputs:
versionSpec: '5.x'

- task: gitversion/execute@1.0.0
- task: gitversion/execute@1.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 @@ -15,12 +15,12 @@ jobs:
- checkout: self
fetchDepth: 0

- task: gitversion/setup@1.0.0
- task: gitversion/setup@1.1.0
displayName: Install GitVersion
inputs:
versionSpec: '5.x'

- task: gitversion/execute@1.0.0
- task: gitversion/execute@1.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-8.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@v1.0.0
uses: gittools/actions/gitversion/setup@v1.1.0
with:
versionSpec: '5.x'

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

- run: |
echo "FullSemVer (env.fullSemVer) : ${{ env.fullSemVer }}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/example-9.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@v1.0.0
uses: gittools/actions/gitversion/setup@v1.1.0
with:
versionSpec: '5.x'

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

GitVersion_v5_cross_job_consumer_without_prefix:
name: GitVersion v5 (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@1.0.0
- task: gitreleasemanager/addasset@1.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@1.0.0
- task: gitreleasemanager/close@1.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@1.0.0
- task: gitreleasemanager/create@1.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@1.0.0
- task: gitreleasemanager/discard@1.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@1.0.0
- task: gitreleasemanager/open@1.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@1.0.0
- task: gitreleasemanager/publish@1.1.0
inputs:
token: '$(GITHUB_TOKEN)'
owner: 'someOwner'
Expand Down
6 changes: 3 additions & 3 deletions docs/examples/azure/gitreleasemanager/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Install the latest GitReleaseManager 0.17.x version.
```yaml
steps:
- task: gitreleasemanager/setup@1.0.0
- task: gitreleasemanager/setup@1.1.0
displayName: Install GitReleaseManager
inputs:
versionSpec: '0.17.x'
Expand All @@ -35,7 +35,7 @@ Install specific GitReleaseManager version 0.17.0.
```yaml
steps:
- task: gitreleasemanager/setup@1.0.0
- task: gitreleasemanager/setup@1.1.0
displayName: Install GitReleaseManager
inputs:
versionSpec: '0.17.0'
Expand All @@ -47,7 +47,7 @@ Install the latest GitReleaseManager 0.17.x version even it there is a cached ve
```yaml
steps:
- task: gitreleasemanager/setup@1.0.0
- task: gitreleasemanager/setup@1.1.0
displayName: Install GitReleaseManager
inputs:
versionSpec: '0.17.x'
Expand Down
48 changes: 24 additions & 24 deletions docs/examples/azure/gitversion/execute/usage-examples.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@1.0.0
- task: gitversion/setup@1.1.0
displayName: Install GitVersion
inputs:
versionSpec: '5.x'
```
These steps are omitted from the examples for brevity.
> The examples use version _1.0.0_ of the GitVersion Execute task. It is recommended to use the latest released version in your own workflows.
> The examples use version _1.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=1.0.0
next-version=1.1.0
required: false
default: ''
updateAssemblyInfo:
Expand Down Expand Up @@ -116,9 +116,9 @@ The Execute GitVersion task creates the following job-scoped variables and multi
```yaml
steps:
# gitversion/setup@1.0.0 task omitted for brevity.
# gitversion/setup@1.1.0 task omitted for brevity.

- task: gitversion/execute@1.0.0
- task: gitversion/execute@1.1.0
displayName: Determine Version
```
</details>
Expand All @@ -129,9 +129,9 @@ steps:
<summary>Calculate the version for the build using a config file with the default name **GitVersion.yml**.</summary>
```yaml
steps:
# gitversion/setup@1.0.0 task omitted for brevity.
# gitversion/setup@1.1.0 task omitted for brevity.

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

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

- task: gitversion/execute@1.0.0
- task: gitversion/execute@1.1.0
displayName: Display GitVersion config
inputs:
additionalArguments: '/showConfig'
Expand All @@ -189,9 +189,9 @@ steps:
```yaml
steps:
# gitversion/setup@1.0.0 task omitted for brevity.
# gitversion/setup@1.1.0 task omitted for brevity.

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

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

- task: gitversion/execute@1.0.0
- task: gitversion/execute@1.1.0
displayName: Determine Version
inputs:
overrideConfig: |
update-build-number=false
next-version=1.0.0
next-version=1.1.0
```
</details>
Expand Down Expand Up @@ -258,12 +258,12 @@ jobs:
- checkout: self
fetchDepth: 0
- task: gitversion/setup@1.0.0
- task: gitversion/setup@1.1.0
displayName: Install GitVersion
inputs:
versionSpec: '5.x'
- task: gitversion/execute@1.0.0
- task: gitversion/execute@1.1.0
displayName: Determine Version
name: version_step # step id used as reference for output values
inputs:
Expand Down Expand Up @@ -326,12 +326,12 @@ jobs:
- checkout: self
fetchDepth: 0
- task: gitversion/setup@1.0.0
- task: gitversion/setup@1.1.0
displayName: Install GitVersion
inputs:
versionSpec: '5.x'
- task: gitversion/execute@1.0.0
- task: gitversion/execute@1.1.0
displayName: Determine Version
name: version_step # step id used as reference for output values
inputs:
Expand Down Expand Up @@ -415,12 +415,12 @@ stages:
- checkout: self
fetchDepth: 0
- task: gitversion/setup@1.0.0
- task: gitversion/setup@1.1.0
displayName: Install GitVersion
inputs:
versionSpec: '5.x'
- task: gitversion/execute@1.0.0
- task: gitversion/execute@1.1.0
displayName: Determine Version
name: version_step # step id used as reference for output values
inputs:
Expand Down
10 changes: 5 additions & 5 deletions docs/examples/azure/gitversion/setup/usage-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

> The examples use version _1.0.0_ of the GitVersion Execute task. It is recommended to use the latest released version in your own workflows.
> The examples use version _1.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 @@ -45,7 +45,7 @@ Install the latest GitVersion 5 version.
```yaml
steps:
- task: gitversion/setup@1.0.0
- task: gitversion/setup@1.1.0
displayName: Install GitVersion
inputs:
versionSpec: '5.x'
Expand All @@ -57,7 +57,7 @@ Install GitVersion 5.12.0.
```yaml
steps:
- task: gitversion/setup@1.0.0
- task: gitversion/setup@1.1.0
displayName: Install GitVersion
inputs:
versionSpec: '5.12.0'
Expand All @@ -69,7 +69,7 @@ Install the latest GitVersion 6 pre-release version. For example **6.0.0-beta.6
```yaml
steps:
- task: gitversion/setup@1.0.0
- task: gitversion/setup@1.1.0
displayName: Install GitVersion
inputs:
versionSpec: '6.x'
Expand All @@ -82,7 +82,7 @@ Install the latest GitVersion 5 version even it there is a cached version matchi
```yaml
steps:
- task: gitversion/setup@1.0.0
- task: gitversion/setup@1.1.0
displayName: Install GitVersion
inputs:
versionSpec: '5.x'
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/github/gitreleasemanager/addasset.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

```yaml
steps:
- uses: gittools/actions/gitreleasemanager/addasset@v1.0.0
- uses: gittools/actions/gitreleasemanager/addasset@v1.1.0
name: Add asset to a release with GitReleaseManager
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/github/gitreleasemanager/close.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

```yaml
steps:
- uses: gittools/actions/gitreleasemanager/close@v1.0.0
- uses: gittools/actions/gitreleasemanager/close@v1.1.0
name: Close release with GitReleaseManager
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/github/gitreleasemanager/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

```yaml
steps:
- uses: gittools/actions/gitreleasemanager/create@v1.0.0
- uses: gittools/actions/gitreleasemanager/create@v1.1.0
name: Create release with GitReleaseManager
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
Loading

0 comments on commit 1c76555

Please sign in to comment.