From d80416dc961d48f2d7428d10669583bd8870440e Mon Sep 17 00:00:00 2001 From: Tim Carman <15333667+tpcarman@users.noreply.github.com> Date: Mon, 13 Jul 2026 18:48:30 +1000 Subject: [PATCH] Fix missing AsBuiltReport.Diagram install in release pipeline Release.yml only installed AsBuiltReport.Core before validating and publishing the module manifest, causing the pipeline to fail since AsBuiltReport.Diagram is also a required module. Co-Authored-By: Claude Sonnet 5 --- .github/workflows/Release.yml | 4 ++++ CHANGELOG.md | 1 + 2 files changed, 5 insertions(+) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index dac1584..4a1c69a 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -17,6 +17,10 @@ jobs: shell: pwsh run: | Install-Module -Name AsBuiltReport.Core -Repository PSGallery -Force + - name: Install AsBuiltReport.Diagram module + shell: pwsh + run: | + Install-Module -Name AsBuiltReport.Diagram -Repository PSGallery -Force - name: Test Module Manifest shell: pwsh run: | diff --git a/CHANGELOG.md b/CHANGELOG.md index 223eef9..6b0f993 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -47,6 +47,7 @@ * Fix `Get-AbrAzSAQueue` and `Get-AbrAzSATable` - Use `New-AzStorageContext -UseConnectedAccount` for OAuth-based data plane access to resolve 403 Forbidden errors when storage account shared key access is disabled * Fix unhandled `Error while copying content to a stream` exception in `Invoke-AsBuiltReport.Microsoft.Azure` caused by `Get-AzTenant`, `Get-AzLocation`, and `Get-AzSubscription` being called without error handling after authentication; failures are now caught and reported as warnings * Fix `Get-AbrAzLoadBalancer` - Correct `LoadBalancerImage` to `Image` in all language files; the mismatched localization key caused the Load Balancer architecture diagram to fail rendering and fall back to the `ImageError` message +* Fix `Release.yml` - Install `AsBuiltReport.Diagram` module prior to module manifest validation and publish steps; the missing required module caused the release pipeline to fail ## [0.2.0] - 2026-02-11