Project

PSPublishModule

Build, test, version, sign, and publish PowerShell modules with reusable PowerForge pipelines.

Stars 48
Forks 16
PowerShell Gallery downloads 17,213
Release v3.0.169
Language: C# Updated: 2026-10-13

API Reference

Command

New-ConfigurationProjectBuild

Namespace PSPublishModule
Inputs
None
Outputs
PowerForge.ConfigurationProjectBuildSegment

References an existing project.build.json package build from the module-build DSL.

Remarks

Use this cmdlet inside Build-Module { } when package build details already live in a JSON file and the module build should coordinate with that package lane.

Examples

Authored help example

EXAMPLE 1


New-ConfigurationProjectBuild -ConfigPath 'C:\Path'
        

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

New-ConfigurationProjectBuild [-Build] [-BuildBeforeModule] [-ConfigPath <String>] [-CreateReleaseZip] [-Enabled] [-IncludeSymbols] [-Name <String>] [-Options <IDictionary>] [-OverwriteSignedAssemblies] [-OverwriteSignedPackages] [-ProvideLocalNuGetFeed] [-PublishGitHub] [-PublishNuget] [-SignAssemblies] [-SignDependencyAssemblies] [-SignPackages] [-UpdateVersions] [-UseAsReleaseVersionSource] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

Build SwitchParameter optionalposition: namedpipeline: False
Whether package projects should be built/packed, overriding the referenced JSON when set.
BuildBeforeModule SwitchParameter optionalposition: namedpipeline: False
Whether package outputs must be produced before the module lane runs.
ConfigPath String optionalposition: namedpipeline: False
Path to an existing project.build.json file.
CreateReleaseZip SwitchParameter optionalposition: namedpipeline: False
Whether release ZIPs should be created, overriding the referenced JSON when set.
Enabled SwitchParameter optionalposition: namedpipeline: False
Whether this project build lane is enabled. Defaults to true.
IncludeSymbols SwitchParameter optionalposition: namedpipeline: False
Whether portable symbol packages should be created, overriding the referenced JSON when set.
Name String optionalposition: namedpipeline: False
Optional friendly name for this package build lane.
Options IDictionary optionalposition: namedpipeline: False
Additional project-build JSON overrides for less common fields.
OverwriteSignedAssemblies SwitchParameter optionalposition: namedpipeline: False
Whether existing Authenticode assembly signatures may be replaced.
OverwriteSignedPackages SwitchParameter optionalposition: namedpipeline: False
Whether existing NuGet package signatures may be replaced.
ProvideLocalNuGetFeed SwitchParameter optionalposition: namedpipeline: False
Whether package outputs should be exposed as a temporary local NuGet feed for the module lane.
PublishGitHub SwitchParameter optionalposition: namedpipeline: False
Whether package GitHub release publishing should be enabled, overriding the referenced JSON when set.
PublishNuget SwitchParameter optionalposition: namedpipeline: False
Whether NuGet packages should be published, overriding the referenced JSON when set.
SignAssemblies SwitchParameter optionalposition: namedpipeline: False
Whether assemblies should be signed before packages are created, overriding the referenced JSON when set.
SignDependencyAssemblies SwitchParameter optionalposition: namedpipeline: False
Whether copied dependency assemblies should also be signed, overriding the referenced JSON when set.
SignPackages SwitchParameter optionalposition: namedpipeline: False
Whether generated NuGet packages should be signed, overriding the referenced JSON when set.
UpdateVersions SwitchParameter optionalposition: namedpipeline: False
Whether project/package versions should be updated, overriding the referenced JSON when set.
UseAsReleaseVersionSource SwitchParameter optionalposition: namedpipeline: False
Whether the resolved package version should be used as the unified release version source.

Outputs

PowerForge.ConfigurationProjectBuildSegment