Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix versionmark command formatting for consistency and line length
- Remove line continuation in build job versionmark capture (line 148)
- Split build-docs versionmark capture into multiple lines to meet 120 char limit
- Split versionmark publish command into multiple lines for better readability
- Maintain consistent formatting across all versionmark commands in the workflow
  • Loading branch information
Copilot committed Feb 15, 2026
commit 202f8b6c2ed6124f7d3246ea1a37e58522f9775b
10 changes: 6 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,7 @@ jobs:
# Create short job ID: build-win, build-ubuntu
OS_SHORT=$(echo "${{ matrix.os }}" | sed 's/windows-latest/win/;s/ubuntu-latest/ubuntu/')
JOB_ID="build-${OS_SHORT}"
dotnet versionmark --capture --job-id "${JOB_ID}" -- \
dotnet git dotnet-sonarscanner versionmark
dotnet versionmark --capture --job-id "${JOB_ID}" -- dotnet git dotnet-sonarscanner versionmark
echo "✓ Tool versions captured"

- name: Upload version capture
Expand Down Expand Up @@ -438,14 +437,17 @@ jobs:
run: |
echo "Capturing tool versions..."
dotnet versionmark --capture --job-id "build-docs" -- \
dotnet git node npm pandoc weasyprint sarifmark sonarmark reqstream buildmark versionmark
dotnet git node npm pandoc weasyprint \
sarifmark sonarmark reqstream buildmark versionmark
echo "✓ Tool versions captured"

- name: Publish Tool Versions
shell: bash
run: |
echo "Publishing tool versions..."
dotnet versionmark --publish --report docs/buildnotes/versions.md --report-depth 1 \
dotnet versionmark --publish \
--report docs/buildnotes/versions.md \
--report-depth 1 \
-- "versionmark-*.json" "version-captures/**/versionmark-*.json"
echo "✓ Tool versions published"

Expand Down