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.186
Language: C# Updated: 2026-11-04
Command

New-ConfigurationProjectBuild

Module
PSPublishModule
Inputs
None
Outputs
PowerForge.ConfigurationProjectBuildSegment

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

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

Description

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

Example 1

New-ConfigurationProjectBuild -ConfigPath 'C:\Path'

Parameters

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

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.