From b22090272e23bb1ae2dcdb84a4dd5b789c12d054 Mon Sep 17 00:00:00 2001 From: Mark Harrison Date: Wed, 31 Jan 2024 16:58:37 +0000 Subject: [PATCH] Fix to major version --- .github/workflows/docker-build-push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-build-push.yml b/.github/workflows/docker-build-push.yml index 620b7c0..36ee3e1 100644 --- a/.github/workflows/docker-build-push.yml +++ b/.github/workflows/docker-build-push.yml @@ -37,7 +37,7 @@ jobs: $matchingTag = $workerToolsTags.results | Where-Object { $_.name -eq $versionToCompare } echo "VERSION=$versionToCompare" >> $env:GITHUB_OUTPUT - echo "MAJOR_VERSION=$version.Major" >> $env:GITHUB_OUTPUT + echo "MAJOR_VERSION=$($version.Major)" >> $env:GITHUB_OUTPUT Write-Host "VERSION: $versionToCompare" Write-Host "MAJOR_VERSION: $version.Major"