-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Prerelease module on new modulev3 #106
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