Sampler.CustomTasks
0.2.0
Custom tasks for Sampler Module
Minimum PowerShell version
5.0
Installation Options
Owners
Copyright
(c) Thomas Subotitsch, Fabian Steiner. All rights reserved.
Package Details
Author(s)
- Thomas Subotitsch Fabian Steiner
Tags
Sampler InvokeBuild Build Tasks Automation Wiki Changelog
Functions
Copy-WikiContent New-WikiSidebarFromPs1 Update-ChangelogDirect
Dependencies
This module has no dependencies.
Release Notes
## [0.2.0] - 2026-04-16
### Changed
#### `source/Public/Update-ChangelogDirect.ps1`
- Replaced `Write-Build` with `Write-Host` for all status output, removing dependency on Invoke-Build logging helpers.
- Made the function self-contained and usable outside of an Invoke-Build execution context.
#### `build.ps1`
- Added `importLocalProjectModuleTaskFiles` helper to load local task and function definitions when working with a project module.
- Loads functions from `source/Public` and `source/Private`, and tasks from `source/tasks`.
- Enables execution without requiring the module to be installed or imported.
- Provides detailed console output during loading for improved transparency.
- Updated module import workflow:
- Now prefers local source task definitions when available, improving local development experience.
- Refactored fallback logic to reuse the helper, removing duplicated code.
- Improved resilience by falling back to local sources if module import fails.
FileList
- Sampler.CustomTasks.nuspec
- Sampler.CustomTasks.psd1
- Sampler.CustomTasks.psm1
- en-US\about_Sampler.CustomTasks.help.txt
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 0.2.0 (current version) | 2 | 4/16/2026 |
| 0.2.0-previe... | 2 | 4/16/2026 |