From 393c48bcdb7cb8c1fd86d331521e62b188499be9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 8 Jul 2025 10:11:04 +0000 Subject: [PATCH 1/2] Bump gittools/actions from 3.2.1 to 4.0.1 Bumps [gittools/actions](https://github.com/gittools/actions) from 3.2.1 to 4.0.1. - [Release notes](https://github.com/gittools/actions/releases) - [Changelog](https://github.com/GitTools/actions/blob/main/GitReleaseManager.yml) - [Commits](https://github.com/gittools/actions/compare/v3.2.1...v4.0.1) --- updated-dependencies: - dependency-name: gittools/actions dependency-version: 4.0.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/workflow.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index a5222ec..9bfa9c5 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -19,11 +19,11 @@ jobs: fetch-depth: 0 #fetch-depth is needed for GitVersion #Install and calculate the new version with GitVersion - name: Install GitVersion - uses: gittools/actions/gitversion/setup@v3.2.1 + uses: gittools/actions/gitversion/setup@v4.0.1 with: versionSpec: 5.x - name: Determine Version - uses: gittools/actions/gitversion/execute@v3.2.1 + uses: gittools/actions/gitversion/execute@v4.0.1 id: gitversion # step id used as reference for output values - name: Display GitVersion outputs run: | From cfb473984479b9ec041d6e6aa2c9789c35f75efa Mon Sep 17 00:00:00 2001 From: Sam Smith Date: Fri, 18 Jul 2025 10:17:37 -0400 Subject: [PATCH 2/2] Update GitVersion outputs and version specification in workflow... ...to use MajorMinorPatch and upgrade to version 6.x. --- .github/workflows/workflow.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 9bfa9c5..51d13d7 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -11,7 +11,7 @@ jobs: build: runs-on: ubuntu-latest outputs: # https://stackoverflow.com/questions/59175332/using-output-from-a-previous-job-in-a-new-one-in-a-github-action - Version: ${{ steps.gitversion.outputs.SemVer }} + Version: ${{ steps.gitversion.outputs.MajorMinorPatch }} CommitsSinceVersionSource: ${{ steps.gitversion.outputs.CommitsSinceVersionSource }} steps: - uses: actions/checkout@v4 @@ -21,13 +21,13 @@ jobs: - name: Install GitVersion uses: gittools/actions/gitversion/setup@v4.0.1 with: - versionSpec: 5.x + versionSpec: 6.x - name: Determine Version uses: gittools/actions/gitversion/execute@v4.0.1 id: gitversion # step id used as reference for output values - name: Display GitVersion outputs run: | - echo "Version: ${{ steps.gitversion.outputs.SemVer }}" + echo "Version: ${{ steps.gitversion.outputs.MajorMinorPatch }}" echo "CommitsSinceVersionSource: ${{ steps.gitversion.outputs.CommitsSinceVersionSource }}" # checkout the code from this branch, and then test the action from here