Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 6 additions & 0 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@
"commands": [
"sarifmark"
]
},
"demaconsulting.buildmark": {
"version": "0.2.0",
"commands": [
"buildmark"
]
}
}
}
35 changes: 34 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,41 @@ jobs:
docs/quality/quality.html
"docs/ReqStream Code Quality.pdf"

- name: Generate Build Notes with BuildMark
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
run: >
dotnet 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
--filter node_modules/.bin/mermaid-filter.cmd
--output docs/buildnotes/buildnotes.html

- name: Generate Build Notes PDF with Weasyprint
run: >
dotnet weasyprint
--pdf-variant pdf/a-3u
docs/buildnotes/buildnotes.html
"docs/ReqStream Build Notes.pdf"

- name: Upload documentation
uses: actions/upload-artifact@v6
with:
name: documentation
path: docs/*.pdf
path: |
docs/*.pdf
docs/buildnotes.md
8 changes: 7 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,19 @@ jobs:
name: documentation
path: artifacts

- name: Move buildnotes.md to root
run: |
set -e
mv artifacts/buildnotes.md buildnotes.md

- name: Create GitHub Release
if: inputs.publish == 'release' || inputs.publish == 'publish'
uses: ncipollo/release-action@v1
with:
tag: ${{ inputs.version }}
artifacts: artifacts/*
generateReleaseNotes: true
bodyFile: buildnotes.md
generateReleaseNotes: false

- name: Publish to NuGet.org
if: inputs.publish == 'publish'
Expand Down
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 ReqStream project.

## Purpose

This report serves as a comprehensive record of changes and bug fixes for this
release of ReqStream. 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, analyzing the
Git repository history and issue tracking information. It provides evidence of
changes made to the ReqStream requirements management tool.

## Audience

This document is intended for:

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