Skip to content

Commit 2cd2a6b

Browse files
Added a Changelog
1 parent 148959c commit 2cd2a6b

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Changelog
2+
3+
All changes to this project should be reflected in this document.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
7+
## [[0.0.1.0]](https://github.com/mod-posh/CreatePowerShellModule/releases/tag/v0.0.1.0) - 2024-07-17
8+
9+
### Summary of the Create PowerShell Module Script
10+
11+
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.
12+
13+
Features:
14+
15+
- Iterates over specified import directories.
16+
- Collects and reads function scripts (`.ps1` files), excluding test scripts.
17+
- Aggregates the contents of the function scripts into a single module file using a `StringBuilder`.
18+
- Writes the aggregated contents from the `StringBuilder` to the `.psm1` module file.
19+
20+
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.

0 commit comments

Comments
 (0)