PSModuleBuildHelper
0.2.0
PowerShell module build helper functions.
Minimum PowerShell version
5.0
Installation Options
Author(s)
Paul Broadwith
Copyright
(c) 2018 Paul Broadwith
Package Details
Owners
Tags
build invoke-build module helper testing
Functions
Get-BuildEnvironment Get-BuildItem Get-BuildOperatingSystemDetail Get-BuildPowerShellDetail Get-BuildReleaseNote Get-BuildScript Get-BuildSystem Get-BuildSystemEnvironment Get-ChangelogVersion Get-FunctionParameter Get-GitBranchName Get-GitChange Get-GitLastCommitHash Get-GitLastCommitMessage Get-ManifestVersion Get-NextReleaseVersion Get-PowerShellGalleryVersion Get-ProjectEnvironment Get-ProjectRoot Get-ReleaseType Get-SourcePath Get-TestEnvironment Hide-SensitiveData Initialize-BuildDependency Initialize-TestEnvironment Install-ChocolateyPackage Install-DependentModule New-GitHubRelease
Dependencies
This module has no dependencies.
Release Notes
v0.2.0 21 April 2018
* Changed the logic of release notes being used - only use them if nothing is in the ReleaseNotes field of the manifest and then use the release notes from the changelog or if we can't extract them use the URL to the changelog itself;
* The Initialize-TestEnvironment function now loads the module being tested into the Global scope. This was to get around the issue of it being loaded inside this modules' scope;
* Removed required module 'Configuration';
* Added required module 'PowerShellGet';
* Renamed 'buildoutput' folder to 'releases';
* Fixed issue with Initialize-TestEnvironment function which was showing errors trying to remove the module being tested when it hadn't been loaded;
* Added option to add content to the top and bottom of the module script. This is done using the ModuleScript.Header and ModuleScript.Footer properties in the build configuration file. These values must be strings but can be a multi-line script (ie. @"<CONTENT>"@);
* Rewrote Get-BuildReleaseNote function as the regular expression didn't always work as I wanted. The function now looks a bit clunky but it works;
FileList
- PSModuleBuildHelper.nuspec
- LICENSE
- PSModuleBuildHelper.psd1
- psmodulebuildhelper.psm1
- Start-ModuleBuild.ps1
- en-US\about_PSModuleBuildHelper.help.txt