-
-
Notifications
You must be signed in to change notification settings - Fork 0
Prerelease module on new modulev3 #106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| try { | ||
|
|
||
| $modulename = "MyModule" | ||
|
|
Check notice
Code scanning / PSScriptAnalyzer
Line has trailing whitespace
| ) | ||
| throw "Injected error from New-MymoduleManifest." | ||
| try { | ||
|
|
Check notice
Code scanning / PSScriptAnalyzer
Line has trailing whitespace
| function script:New-MyModuleManifest { | ||
| [CmdletBinding()] | ||
| param( | ||
| [Parameter(Mandatory)][string]$Path, |
Check warning
Code scanning / PSScriptAnalyzer
The parameter 'Path' has been declared but not used.
| [CmdletBinding()] | ||
| param( | ||
| [Parameter(Mandatory)][string]$Path, | ||
| [Parameter(Mandatory)][string]$RootModule, |
Check warning
Code scanning / PSScriptAnalyzer
The parameter 'RootModule' has been declared but not used.
| param( | ||
| [Parameter(Mandatory)][string]$Path, | ||
| [Parameter(Mandatory)][string]$RootModule, | ||
| [Parameter(Mandatory)][string]$PreRelease |
Check warning
Code scanning / PSScriptAnalyzer
The parameter 'PreRelease' has been declared but not used.
| } | ||
| } | ||
| } | ||
|
|
Check notice
Code scanning / PSScriptAnalyzer
Line has trailing whitespace
| } | ||
|
|
||
| $result = Add-LL_ModuleV3 -Name $modulename @ErrorParameters | ||
|
|
Check notice
Code scanning / PSScriptAnalyzer
Line has trailing whitespace
Make module prerelease by adding PrivateData.PsData.PreRelease info to Manifest