From 1b7ea2c0f2f6d0a09da98cc7ef9250bf00687b24 Mon Sep 17 00:00:00 2001 From: Artur Stolear Date: Tue, 10 Dec 2024 13:31:13 +0000 Subject: [PATCH] update examples version to 3.1.0 --- .azure/example-7.yml | 4 +- .azure/example-8.yml | 4 +- .azure/example-9.yml | 4 +- .github/workflows/example-7.yml | 4 +- .github/workflows/example-8.yml | 4 +- .../azure/gitreleasemanager/addasset.md | 2 +- .../examples/azure/gitreleasemanager/close.md | 2 +- .../azure/gitreleasemanager/create.md | 2 +- .../azure/gitreleasemanager/discard.md | 2 +- docs/examples/azure/gitreleasemanager/open.md | 2 +- .../azure/gitreleasemanager/publish.md | 2 +- .../examples/azure/gitreleasemanager/setup.md | 8 ++-- docs/examples/azure/gitversion/command.md | 16 +++---- docs/examples/azure/gitversion/execute.md | 44 +++++++++---------- docs/examples/azure/gitversion/setup.md | 10 ++--- .../github/gitreleasemanager/addasset.md | 2 +- .../github/gitreleasemanager/close.md | 2 +- .../github/gitreleasemanager/create.md | 2 +- .../github/gitreleasemanager/discard.md | 2 +- .../examples/github/gitreleasemanager/open.md | 2 +- .../github/gitreleasemanager/publish.md | 2 +- .../github/gitreleasemanager/setup.md | 8 ++-- docs/examples/github/gitversion/command.md | 16 +++---- docs/examples/github/gitversion/execute.md | 38 ++++++++-------- docs/examples/github/gitversion/setup.md | 10 ++--- package.json | 2 +- 26 files changed, 98 insertions(+), 98 deletions(-) diff --git a/.azure/example-7.yml b/.azure/example-7.yml index 44ee7a602..1076d40b1 100644 --- a/.azure/example-7.yml +++ b/.azure/example-7.yml @@ -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: diff --git a/.azure/example-8.yml b/.azure/example-8.yml index 6d2b5f17c..f459f0fd8 100644 --- a/.azure/example-8.yml +++ b/.azure/example-8.yml @@ -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: diff --git a/.azure/example-9.yml b/.azure/example-9.yml index b5ddd5ff3..f81db43cb 100644 --- a/.azure/example-9.yml +++ b/.azure/example-9.yml @@ -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: diff --git a/.github/workflows/example-7.yml b/.github/workflows/example-7.yml index 98ba5342b..0de4f64ed 100644 --- a/.github/workflows/example-7.yml +++ b/.github/workflows/example-7.yml @@ -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 }}" diff --git a/.github/workflows/example-8.yml b/.github/workflows/example-8.yml index e2d43928d..320c80772 100644 --- a/.github/workflows/example-8.yml +++ b/.github/workflows/example-8.yml @@ -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 diff --git a/docs/examples/azure/gitreleasemanager/addasset.md b/docs/examples/azure/gitreleasemanager/addasset.md index a08d04c7e..b810f0110 100644 --- a/docs/examples/azure/gitreleasemanager/addasset.md +++ b/docs/examples/azure/gitreleasemanager/addasset.md @@ -2,7 +2,7 @@ ```yaml steps: - - task: gitreleasemanager/addasset@3.0.4 + - task: gitreleasemanager/addasset@3.1.0 inputs: token: '$(GITHUB_TOKEN)' owner: 'someOwner' diff --git a/docs/examples/azure/gitreleasemanager/close.md b/docs/examples/azure/gitreleasemanager/close.md index dcadee39b..f35e078b4 100644 --- a/docs/examples/azure/gitreleasemanager/close.md +++ b/docs/examples/azure/gitreleasemanager/close.md @@ -2,7 +2,7 @@ ```yaml steps: - - task: gitreleasemanager/close@3.0.4 + - task: gitreleasemanager/close@3.1.0 inputs: token: '$(GITHUB_TOKEN)' owner: 'someOwner' diff --git a/docs/examples/azure/gitreleasemanager/create.md b/docs/examples/azure/gitreleasemanager/create.md index 7d6454026..4ecd4fc13 100644 --- a/docs/examples/azure/gitreleasemanager/create.md +++ b/docs/examples/azure/gitreleasemanager/create.md @@ -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) diff --git a/docs/examples/azure/gitreleasemanager/discard.md b/docs/examples/azure/gitreleasemanager/discard.md index d2d14b0c5..628ebf479 100644 --- a/docs/examples/azure/gitreleasemanager/discard.md +++ b/docs/examples/azure/gitreleasemanager/discard.md @@ -2,7 +2,7 @@ ```yaml steps: - - task: gitreleasemanager/discard@3.0.4 + - task: gitreleasemanager/discard@3.1.0 inputs: token: '$(GITHUB_TOKEN)' owner: 'someOwner' diff --git a/docs/examples/azure/gitreleasemanager/open.md b/docs/examples/azure/gitreleasemanager/open.md index 6e2f8677a..2cacdca68 100644 --- a/docs/examples/azure/gitreleasemanager/open.md +++ b/docs/examples/azure/gitreleasemanager/open.md @@ -2,7 +2,7 @@ ```yaml steps: - - task: gitreleasemanager/open@3.0.4 + - task: gitreleasemanager/open@3.1.0 inputs: token: '$(GITHUB_TOKEN)' owner: 'someOwner' diff --git a/docs/examples/azure/gitreleasemanager/publish.md b/docs/examples/azure/gitreleasemanager/publish.md index 314843935..5e1974278 100644 --- a/docs/examples/azure/gitreleasemanager/publish.md +++ b/docs/examples/azure/gitreleasemanager/publish.md @@ -2,7 +2,7 @@ ```yaml steps: - - task: gitreleasemanager/publish@3.0.4 + - task: gitreleasemanager/publish@3.1.0 inputs: token: '$(GITHUB_TOKEN)' owner: 'someOwner' diff --git a/docs/examples/azure/gitreleasemanager/setup.md b/docs/examples/azure/gitreleasemanager/setup.md index 691b02e98..a07f5309a 100644 --- a/docs/examples/azure/gitreleasemanager/setup.md +++ b/docs/examples/azure/gitreleasemanager/setup.md @@ -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 @@ -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' @@ -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' @@ -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' diff --git a/docs/examples/azure/gitversion/command.md b/docs/examples/azure/gitversion/command.md index a9d5c87b0..953aa113c 100644 --- a/docs/examples/azure/gitversion/command.md +++ b/docs/examples/azure/gitversion/command.md @@ -10,7 +10,7 @@ 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' @@ -18,7 +18,7 @@ steps: 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 @@ -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' @@ -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' @@ -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 diff --git a/docs/examples/azure/gitversion/execute.md b/docs/examples/azure/gitversion/execute.md index 2ee9975f0..c841d732f 100644 --- a/docs/examples/azure/gitversion/execute.md +++ b/docs/examples/azure/gitversion/execute.md @@ -10,7 +10,7 @@ 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' @@ -18,7 +18,7 @@ steps: 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 @@ -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: @@ -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 ``` @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 ``` @@ -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: @@ -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: @@ -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: diff --git a/docs/examples/azure/gitversion/setup.md b/docs/examples/azure/gitversion/setup.md index 7c5cb394c..49f0ced1e 100644 --- a/docs/examples/azure/gitversion/setup.md +++ b/docs/examples/azure/gitversion/setup.md @@ -2,7 +2,7 @@ Find out how to use the **gitversion/setup** task using the examples below. -> The examples use version _3.0.4_ of the GitVersion Setup task. It is recommended to use the latest released version in your own workflows. +> The examples use version _3.1.0_ of the GitVersion Setup task. It is recommended to use the latest released version in your own workflows. ## Inputs @@ -45,7 +45,7 @@ Install the latest GitVersion 6 version. ```yaml steps: - - task: gitversion/setup@3.0.4 + - task: gitversion/setup@3.1.0 displayName: Install GitVersion inputs: versionSpec: '6.0.x' @@ -57,7 +57,7 @@ Install GitVersion 6.0.0. ```yaml steps: - - task: gitversion/setup@3.0.4 + - task: gitversion/setup@3.1.0 displayName: Install GitVersion inputs: versionSpec: '6.0.0' @@ -69,7 +69,7 @@ Install the latest GitVersion 6 pre-release version. For example **6.0.0-beta.6 ```yaml steps: - - task: gitversion/setup@3.0.4 + - task: gitversion/setup@3.1.0 displayName: Install GitVersion inputs: versionSpec: '6.0.x' @@ -82,7 +82,7 @@ Install the latest GitVersion 6 version even it there is a cached version matchi ```yaml steps: - - task: gitversion/setup@3.0.4 + - task: gitversion/setup@3.1.0 displayName: Install GitVersion inputs: versionSpec: '6.0.x' diff --git a/docs/examples/github/gitreleasemanager/addasset.md b/docs/examples/github/gitreleasemanager/addasset.md index 43a469b20..c2dd54904 100644 --- a/docs/examples/github/gitreleasemanager/addasset.md +++ b/docs/examples/github/gitreleasemanager/addasset.md @@ -2,7 +2,7 @@ ```yaml steps: - - uses: gittools/actions/gitreleasemanager/addasset@v3.0.4 + - uses: gittools/actions/gitreleasemanager/addasset@v3.1.0 name: Add asset to a release with GitReleaseManager with: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/docs/examples/github/gitreleasemanager/close.md b/docs/examples/github/gitreleasemanager/close.md index 565bffd69..7fcb28f44 100644 --- a/docs/examples/github/gitreleasemanager/close.md +++ b/docs/examples/github/gitreleasemanager/close.md @@ -2,7 +2,7 @@ ```yaml steps: - - uses: gittools/actions/gitreleasemanager/close@v3.0.4 + - uses: gittools/actions/gitreleasemanager/close@v3.1.0 name: Close release with GitReleaseManager with: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/docs/examples/github/gitreleasemanager/create.md b/docs/examples/github/gitreleasemanager/create.md index 6175d2e0a..8a7f0dd8e 100644 --- a/docs/examples/github/gitreleasemanager/create.md +++ b/docs/examples/github/gitreleasemanager/create.md @@ -2,7 +2,7 @@ ```yaml steps: - - uses: gittools/actions/gitreleasemanager/create@v3.0.4 + - uses: gittools/actions/gitreleasemanager/create@v3.1.0 name: Create release with GitReleaseManager with: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/docs/examples/github/gitreleasemanager/discard.md b/docs/examples/github/gitreleasemanager/discard.md index 734fae8ca..a4560baca 100644 --- a/docs/examples/github/gitreleasemanager/discard.md +++ b/docs/examples/github/gitreleasemanager/discard.md @@ -2,7 +2,7 @@ ```yaml steps: - - uses: gittools/actions/gitreleasemanager/discard@v3.0.4 + - uses: gittools/actions/gitreleasemanager/discard@v3.1.0 name: Discard release with GitReleaseManager with: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/docs/examples/github/gitreleasemanager/open.md b/docs/examples/github/gitreleasemanager/open.md index d6a8dc986..491b70c0a 100644 --- a/docs/examples/github/gitreleasemanager/open.md +++ b/docs/examples/github/gitreleasemanager/open.md @@ -2,7 +2,7 @@ ```yaml steps: - - uses: gittools/actions/gitreleasemanager/open@v3.0.4 + - uses: gittools/actions/gitreleasemanager/open@v3.1.0 name: Open release with GitReleaseManager with: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/docs/examples/github/gitreleasemanager/publish.md b/docs/examples/github/gitreleasemanager/publish.md index 6aef3b935..3b3006146 100644 --- a/docs/examples/github/gitreleasemanager/publish.md +++ b/docs/examples/github/gitreleasemanager/publish.md @@ -2,7 +2,7 @@ ```yaml steps: - - uses: gittools/actions/gitreleasemanager/publish@v3.0.4 + - uses: gittools/actions/gitreleasemanager/publish@v3.1.0 name: Publish release with GitReleaseManager with: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/docs/examples/github/gitreleasemanager/setup.md b/docs/examples/github/gitreleasemanager/setup.md index b5158fd75..efd60e762 100644 --- a/docs/examples/github/gitreleasemanager/setup.md +++ b/docs/examples/github/gitreleasemanager/setup.md @@ -2,7 +2,7 @@ Find out how to use the **gitreleasemanager/setup** action using the examples below. -> The examples use version _3.0.4_ of the GitReleaseManager Setup action. It is recommended to use the latest released version in your own workflows. +> The examples use version _3.1.0_ of the GitReleaseManager Setup action. It is recommended to use the latest released version in your own workflows. ## Inputs @@ -30,7 +30,7 @@ Install the latest GitReleaseManager 0.18.x version. ```yaml steps: - name: Install GitReleaseManager - uses: gittools/actions/gitreleasemanager/setup@v3.0.4 + uses: gittools/actions/gitreleasemanager/setup@v3.1.0 with: versionSpec: '0.18.x' ``` @@ -42,7 +42,7 @@ Install specific GitReleaseManager version 0.18.0. ```yaml steps: - name: Install GitReleaseManager - uses: gittools/actions/gitreleasemanager/setup@v3.0.4 + uses: gittools/actions/gitreleasemanager/setup@v3.1.0 with: versionSpec: '0.18.0' ``` @@ -54,7 +54,7 @@ Install the latest GitReleaseManager 0.18.x version even it there is a cached ve ```yaml steps: - name: Install GitReleaseManager - uses: gittools/actions/gitreleasemanager/setup@v3.0.4 + uses: gittools/actions/gitreleasemanager/setup@v3.1.0 with: versionSpec: '0.18.x' preferLatestVersion: true diff --git a/docs/examples/github/gitversion/command.md b/docs/examples/github/gitversion/command.md index 4299e390f..493e4ee3f 100644 --- a/docs/examples/github/gitversion/command.md +++ b/docs/examples/github/gitversion/command.md @@ -13,14 +13,14 @@ steps: 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' ``` These steps are omitted from the examples for brevity. -> The examples use version _3.0.4_ of the GitVersion Command action. It is recommended to use the latest released version in your own workflows. +> The examples use version _3.1.0_ of the GitVersion Command action. It is recommended to use the latest released version in your own workflows. ## Inputs @@ -52,10 +52,10 @@ arguments: ```yaml steps: - # gittools/actions/gitversion/setup@v3.0.4 action omitted for brevity. + # gittools/actions/gitversion/setup@v3.1.0 action omitted for brevity. - name: Display GitVersion config - uses: gittools/actions/gitversion/command@v3.0.4 + uses: gittools/actions/gitversion/command@v3.1.0 with: useConfigFile: true arguments: '/showConfig' @@ -70,10 +70,10 @@ steps: ```yaml steps: - # gittools/actions/gitversion/setup@v3.0.4 action omitted for brevity. + # gittools/actions/gitversion/setup@v3.1.0 action omitted for brevity. - name: Output the FullSemVer variable - uses: gittools/actions/gitversion/command@v3.0.4 + uses: gittools/actions/gitversion/command@v3.1.0 with: arguments: '/showvariable FullSemVer' ``` @@ -87,10 +87,10 @@ steps: ```yaml steps: - # gittools/actions/gitversion/setup@v3.0.4 action omitted for brevity. + # gittools/actions/gitversion/setup@v3.1.0 action omitted for brevity. - name: Output the formatted version - uses: gittools/actions/gitversion/command@v3.0.4 + uses: gittools/actions/gitversion/command@v3.1.0 with: arguments: '/format {Major}.{Minor}' # any Output Variable can be used here ``` diff --git a/docs/examples/github/gitversion/execute.md b/docs/examples/github/gitversion/execute.md index b0b76eb91..49ed36ffe 100644 --- a/docs/examples/github/gitversion/execute.md +++ b/docs/examples/github/gitversion/execute.md @@ -13,14 +13,14 @@ steps: 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' ``` These steps are omitted from the examples for brevity. -> The examples use version _3.0.4_ of the GitVersion Execute action. It is recommended to use the latest released version in your own workflows. +> The examples use version _3.1.0_ of the GitVersion Execute action. It is recommended to use the latest released version in your own workflows. ## Inputs @@ -55,7 +55,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: @@ -116,10 +116,10 @@ The Execute GitVersion action creates the following outputs: ```yaml steps: - # gittools/actions/gitversion/setup@v3.0.4 action omitted for brevity. + # gittools/actions/gitversion/setup@v3.1.0 action omitted for brevity. - name: Determine Version - uses: gittools/actions/gitversion/execute@v3.0.4 + uses: gittools/actions/gitversion/execute@v3.1.0 ``` @@ -132,7 +132,7 @@ steps: ```yaml steps: - name: Determine Version - uses: gittools/actions/gitversion/execute@v3.0.4 + uses: gittools/actions/gitversion/execute@v3.1.0 with: useConfigFile: true ``` @@ -157,10 +157,10 @@ branches: ```yaml steps: - # gittools/actions/gitversion/setup@v3.0.4 action omitted for brevity. + # gittools/actions/gitversion/setup@v3.1.0 action omitted for brevity. - name: Determine Version - uses: gittools/actions/gitversion/execute@v3.0.4 + uses: gittools/actions/gitversion/execute@v3.1.0 with: useConfigFile: true configFilePath: VersionConfig.yml @@ -175,10 +175,10 @@ steps: ```yaml steps: - # gittools/actions/gitversion/setup@v3.0.4 action omitted for brevity. + # gittools/actions/gitversion/setup@v3.1.0 action omitted for brevity. - name: Determine Version - uses: gittools/actions/gitversion/execute@v3.0.4 + uses: gittools/actions/gitversion/execute@v3.1.0 with: disableCache: true disableNormalization: true @@ -193,10 +193,10 @@ steps: ```yaml steps: - # gittools/actions/gitversion/setup@v3.0.4 action omitted for brevity. + # gittools/actions/gitversion/setup@v3.1.0 action omitted for brevity. - name: Determine Version - uses: gittools/actions/gitversion/execute@v3.0.4 + uses: gittools/actions/gitversion/execute@v3.1.0 with: updateAssemblyInfo: true ``` @@ -210,14 +210,14 @@ steps: ```yaml steps: - # gittools/actions/gitversion/setup@v3.0.4 action omitted for brevity. + # gittools/actions/gitversion/setup@v3.1.0 action omitted for brevity. - name: Determine Version - uses: gittools/actions/gitversion/execute@v3.0.4 + uses: gittools/actions/gitversion/execute@v3.1.0 with: overrideConfig: | update-build-number=false - next-version=3.0.4 + next-version=3.1.0 ``` @@ -246,13 +246,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 }}" @@ -336,13 +336,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 diff --git a/docs/examples/github/gitversion/setup.md b/docs/examples/github/gitversion/setup.md index 568e43c60..026af824d 100644 --- a/docs/examples/github/gitversion/setup.md +++ b/docs/examples/github/gitversion/setup.md @@ -2,7 +2,7 @@ Find out how to use the **gitversion/setup** action using the examples below. -> The examples use version _3.0.4_ of the GitVersion Setup action. It is recommended to use the latest released version in your own workflows. +> The examples use version _3.1.0_ of the GitVersion Setup action. It is recommended to use the latest released version in your own workflows. ## Inputs @@ -45,7 +45,7 @@ Install the latest GitVersion 6 version. ```yaml steps: - name: Install GitVersion - uses: gittools/actions/gitversion/setup@v3.0.4 + uses: gittools/actions/gitversion/setup@v3.1.0 with: versionSpec: '6.0.x' ``` @@ -57,7 +57,7 @@ Install GitVersion 6.0.0. ```yaml steps: - name: Install GitVersion - uses: gittools/actions/gitversion/setup@v3.0.4 + uses: gittools/actions/gitversion/setup@v3.1.0 with: versionSpec: '6.0.0' ``` @@ -69,7 +69,7 @@ Install the latest GitVersion 6 pre-release version. For example **6.0.0-beta.6 ```yaml steps: - name: Install GitVersion - uses: gittools/actions/gitversion/setup@v3.0.4 + uses: gittools/actions/gitversion/setup@v3.1.0 with: versionSpec: '6.0.x' includePrerelease: true @@ -82,7 +82,7 @@ Install the latest GitVersion 6 version even it there is a cached version matchi ```yaml steps: - name: Install GitVersion - uses: gittools/actions/gitversion/setup@v3.0.4 + uses: gittools/actions/gitversion/setup@v3.1.0 with: versionSpec: '6.0.x' preferLatestVersion: true diff --git a/package.json b/package.json index e1bf0021b..abcdc6410 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gittools-actions", - "version": "3.0.4", + "version": "3.1.0", "description": "Easy Semantic Versioning (https://semver.org) for projects using Git", "repository": { "type": "git",