Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 2.06 KB

File metadata and controls

41 lines (25 loc) · 2.06 KB

Changelog

All changes to this project should be reflected in this document.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.0.2.1] - 2026-02-19

BUGFIXES

issue-3 ToBoolean() Error

Github Actions can only accept strings

issue-4 Module discovery in output folder

Get-ChildItem -Recurse is finding the .psd1 file in both the source directory AND the output directory (from a previous action), and it's picking the wrong one from the output directory instead of the source

[0.0.2.0] - 2026-02-19

BUGFIXES

issue-1 Recursing importFolder returned no files

Added Where-Object to filter out any potential Pester Test files

issue-2 Set-Content not creating file

Force the file creation using New-Item Add utf8 encoding on file write

[0.0.1.0] - 2024-07-17

Summary of the Create PowerShell Module Script

This Github Action automates the creation of a PowerShell module by aggregating function scripts from specified directories into a single module file (.psm1). It includes setup for variables, handles import folders, processes the function scripts, and creates the final module file. Debug logging and error handling are also included to provide detailed output and manage any issues during execution.

Features:

  • Iterates over specified import directories.
  • Collects and reads function scripts (.ps1 files), excluding test scripts.
  • Aggregates the contents of the function scripts into a single module file using a StringBuilder.
  • Writes the aggregated contents from the StringBuilder to the .psm1 module file.

This action is useful for automating the creation of a PowerShell module by collecting and consolidating function scripts from multiple directories into a single module file.