Skip to content

Commit 3a09c6f

Browse files
CopilotMalcolmnixon
andcommitted
Fix BuildMark version capture to use --global flag
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
1 parent 3520d28 commit 3a09c6f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ jobs:
299299
OS_SHORT=$(echo "${{ matrix.os }}" | sed 's/windows-latest/win/;s/ubuntu-latest/ubuntu/')
300300
DOTNET_SHORT=$(echo "${{ matrix.dotnet-version }}" | sed 's/\.x$//')
301301
JOB_ID="int-${OS_SHORT}-${DOTNET_SHORT}"
302-
dotnet versionmark --capture --job-id "${JOB_ID}" -- dotnet git versionmark
302+
dotnet versionmark --capture --job-id "${JOB_ID}" -- dotnet git buildmark versionmark
303303
echo "✓ Tool versions captured"
304304
305305
- name: Upload version capture

.versionmark.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,10 @@ tools:
5454
command: dotnet tool list
5555
regex: '(?i)demaconsulting\.reqstream\s+(?<version>\d+\.\d+\.\d+)'
5656

57-
# BuildMark (DemaConsulting.BuildMark from dotnet tool list)
57+
# BuildMark (DemaConsulting.BuildMark from dotnet tool list --global)
58+
# Note: BuildMark is installed globally in integration-test and build-docs jobs
5859
buildmark:
59-
command: dotnet tool list
60+
command: dotnet tool list --global
6061
regex: '(?i)demaconsulting\.buildmark\s+(?<version>\d+\.\d+\.\d+)'
6162

6263
# VersionMark (DemaConsulting.VersionMark from dotnet tool list)

0 commit comments

Comments
 (0)