@@ -20,19 +20,19 @@ Runs the Nova release pipeline (build, test, version bump, rebuild, publish).
2020### Local
2121
2222``` text
23- PS> Invoke-NovaRelease [-Local] [[-ModuleDirectoryPath] <string>] [[-ApiKey] <string>] [-SkipTests] [-ContinuousIntegration] [[-Path] <string>] [-WhatIf] [-Confirm] [<CommonParameters>]
23+ PS> Invoke-NovaRelease [-Local] [[-ModuleDirectoryPath] <string>] [[-ApiKey] <string>] [-SkipTests] [-ContinuousIntegration] [-OverrideWarning] [ [-Path] <string>] [-WhatIf] [-Confirm] [<CommonParameters>]
2424```
2525
2626### Repository
2727
2828``` text
29- PS> Invoke-NovaRelease -Repository <string> [[-ModuleDirectoryPath] <string>] [[-ApiKey] <string>] [-SkipTests] [-ContinuousIntegration] [[-Path] <string>] [-WhatIf] [-Confirm] [<CommonParameters>]
29+ PS> Invoke-NovaRelease -Repository <string> [[-ModuleDirectoryPath] <string>] [[-ApiKey] <string>] [-SkipTests] [-ContinuousIntegration] [-OverrideWarning] [ [-Path] <string>] [-WhatIf] [-Confirm] [<CommonParameters>]
3030```
3131
3232### PublishOption
3333
3434``` text
35- PS> Invoke-NovaRelease -PublishOption <hashtable> [-SkipTests] [-ContinuousIntegration] [[-Path] <string>] [-WhatIf] [-Confirm] [<CommonParameters>]
35+ PS> Invoke-NovaRelease -PublishOption <hashtable> [-SkipTests] [-ContinuousIntegration] [-OverrideWarning] [ [-Path] <string>] [-WhatIf] [-Confirm] [<CommonParameters>]
3636```
3737
3838## DESCRIPTION
@@ -58,6 +58,9 @@ Use `-ContinuousIntegration` when the same CI/self-hosting session should re-act
5858release workflow boundaries where session state matters. Nova forwards that CI intent into the nested build and version
5959bump steps and restores the built module again after publish.
6060
61+ Use ` -OverrideWarning ` only when you intentionally want the nested release builds to continue even though a file under
62+ ` src/public ` contains zero or multiple top-level functions.
63+
6164When local release mode is selected, the resolved local publish target is previewed consistently with
6265` Publish-NovaModule -Local ` . Unlike ` Publish-NovaModule -Local ` , ` Invoke-NovaRelease ` does not import the published
6366module into the current session after publishing; it returns the version result for automation-friendly release flows.
@@ -316,6 +319,32 @@ AcceptedValues: [ ]
316319HelpMessage: ''
317320` ` `
318321
322+ # ## -OverrideWarning
323+
324+ Continue the nested release builds even if the `src/public` layout guard reports that a public file does not contain
325+ exactly one top-level function.
326+
327+ ` ` ` yaml
328+ Type: System.Management.Automation.SwitchParameter
329+ DefaultValue: False
330+ SupportsWildcards: false
331+ Aliases: [ ]
332+ ParameterSets:
333+ - Name: Local
334+ Position: Named
335+ - Name: Repository
336+ Position: Named
337+ - Name: PublishOption
338+ Position: Named
339+ IsRequired: false
340+ ValueFromPipeline: false
341+ ValueFromPipelineByPropertyName: false
342+ ValueFromRemainingArguments: false
343+ DontShow: false
344+ AcceptedValues: [ ]
345+ HelpMessage: ''
346+ ` ` `
347+
319348# ## CommonParameters
320349
321350This cmdlet supports the common parameters : ` -Debug` , `-ErrorAction`, `-ErrorVariable`, `-InformationAction`,
0 commit comments