Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
0146f54
Initial plan
Copilot Feb 3, 2026
ee810b7
Add build notes generation infrastructure
Copilot Feb 3, 2026
68ccdd0
Address PR feedback: move download step, add mermaid filter, fix intro
Copilot Feb 3, 2026
c0669de
Move Install BuildMark Tool step after Download step
Copilot Feb 3, 2026
30dda21
Fix bug: use HEAD when build version tag doesn't exist
Copilot Feb 3, 2026
7213897
Improve exception handling: catch specific InvalidOperationException
Copilot Feb 3, 2026
2f2c0f5
Add GH_TOKEN env var for BuildMark to access GitHub CLI
Copilot Feb 3, 2026
48556ba
Fix jq expression quotes for Windows compatibility
Copilot Feb 3, 2026
c3eb81c
Support squash merges by parsing all commits for PR references
Copilot Feb 3, 2026
5e54119
Fix spelling error in test mock commit hash
Copilot Feb 3, 2026
26a23dd
Use GitHub API to find PRs by commit hash when no PR numbers in messages
Copilot Feb 3, 2026
ee810f4
Remove commit message parsing for security - use GitHub API exclusively
Copilot Feb 3, 2026
3d87dac
Use GitHub API to get PR linked issues instead of parsing body
Copilot Feb 3, 2026
a07aa52
Add --state all to gh pr list to include closed PRs
Copilot Feb 4, 2026
3959b60
Fix gh pr list parameter order: move --search after --jq
Copilot Feb 4, 2026
1820ba1
Add fetch-depth: 0 to checkout for full git history in CI
Copilot Feb 4, 2026
37fa333
Add temporary debug output to diagnose CI PR detection issue
Copilot Feb 4, 2026
d8c5223
Use GitHub API instead of git log and pipe commits for batch PR search
Copilot Feb 4, 2026
625b2b3
Implement stdin piping: run gh api first, pipe output to gh pr list
Copilot Feb 4, 2026
c9de260
Remove debug output and fix code formatting for merge readiness
Copilot Feb 4, 2026
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
50 changes: 49 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,12 @@ jobs:
- name: Restore Tools
run: dotnet tool restore

- name: Download BuildMark Package
uses: actions/download-artifact@v7
with:
name: artifacts-windows-latest
path: packages

- name: Setup Node.js
uses: actions/setup-node@v6
with:
Expand Down Expand Up @@ -308,13 +314,53 @@ jobs:
echo "=== SonarCloud Quality Report ==="
cat docs/quality/sonar-quality.md

- name: Install BuildMark Tool
shell: bash
run: |
echo "Installing BuildMark version ${{ inputs.version }}"
dotnet tool install --global \
--add-source packages \
--version ${{ inputs.version }} \
DemaConsulting.BuildMark

- name: Generate Build Notes with BuildMark
shell: bash
run: >
buildmark
--build-version ${{ inputs.version }}
--report docs/buildnotes.md
--report-depth 1

- name: Display Build Notes Report
shell: bash
run: |
echo "=== Build Notes Report ==="
cat docs/buildnotes.md

- name: Generate Build Notes HTML with Pandoc
shell: bash
run: >
dotnet pandoc
--defaults docs/buildnotes/definition.yaml
--metadata version="${{ inputs.version }}"
--metadata date="$(date +'%Y-%m-%d')"
--filter node_modules/.bin/mermaid-filter.cmd
--output docs/buildnotes/buildnotes.html

- name: Convert Build Notes HTML to PDF with Weasyprint
run: >
dotnet weasyprint
docs/buildnotes/buildnotes.html
"docs/BuildMark Build Notes.pdf"

- name: Generate Code Quality HTML with Pandoc
shell: bash
run: >
dotnet pandoc
--defaults docs/quality/definition.yaml
--metadata version="${{ inputs.version }}"
--metadata date="$(date +'%Y-%m-%d')"
--filter node_modules/.bin/mermaid-filter.cmd
--output docs/quality/quality.html

- name: Convert Code Quality HTML to PDF with Weasyprint
Expand All @@ -327,4 +373,6 @@ jobs:
uses: actions/upload-artifact@v6
with:
name: documents
path: docs/*.pdf
path: |
docs/*.pdf
docs/buildnotes.md
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@ docs/tracematrix/*.html
docs/quality/sonar-quality.md
docs/quality/codeql-quality.md
docs/quality/*.html
docs/buildnotes.md
docs/buildnotes/*.html
15 changes: 15 additions & 0 deletions docs/buildnotes/definition.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
resource-path:
- docs/buildnotes
- docs/template

input-files:
- docs/buildnotes/title.txt
- docs/buildnotes/introduction.md
- docs/buildnotes.md

template: template.html

table-of-contents: true

number-sections: true
33 changes: 33 additions & 0 deletions docs/buildnotes/introduction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Introduction

This document contains the build notes for the BuildMark project.

## Purpose

This report serves as a comprehensive record of changes and bug fixes for this
release of BuildMark. It provides transparency about what has changed since the
previous version and helps users understand the improvements and fixes included
in this build.

## Scope

This build notes report covers:

- Version information and commit details
- Changes and new features implemented
- Bugs fixed in this release

## Generation Source

This report is automatically generated by the BuildMark tool itself, analyzing the
Git repository history and issue tracking information. It serves as evidence that
the BuildMark tool can successfully generate build notes for real-world projects.

## Audience

This document is intended for:

- Software developers working on BuildMark
- Users evaluating what has changed in this release
- Project stakeholders tracking progress
- Contributors understanding recent changes
14 changes: 14 additions & 0 deletions docs/buildnotes/title.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: BuildMark Tool
subtitle: Build Notes
author: DEMA Consulting
description: Build notes for the BuildMark Tool for generating markdown build notes
lang: en-US
keywords:
- BuildMark
- Build Notes
- Release Notes
- C#
- .NET
- Documentation
---
Loading