File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 "type" : " pickString" ,
2929 "options" : [
3030 " true" ,
31- " false" ,
31+ " false"
3232 ],
3333 "default" : " true"
34- },
34+ }
3535 ],
3636 "tasks" : [
37+ {
38+ "label" : " Build, Test, Publish module (pwsh)" ,
39+ "type" : " shell" ,
40+ "command" : " NUGET_API_KEY='${input:NUGET_API_KEY}' MODULE_VERSION='${input:MODULE_VERSION}' pwsh -NoLogo -NonInteractive -NoProfile -Command '$VerbosePreference = \" Continue\" ; Import-Module \" ./src/${workspaceFolderBasename}/${workspaceFolderBasename}.psm1\" -Force; Invoke-PSModulePublisher -Repository \" ${input:Repository}\" -DryRun:$([System.Convert]::ToBoolean(\" ${input:DryRun}\" ))'" ,
41+ "group" : " build"
42+ },
43+ {
44+ "label" : " Build, Test, Publish module (powershell)" ,
45+ "type" : " shell" ,
46+ "command" : " NUGET_API_KEY='${input:NUGET_API_KEY}' MODULE_VERSION='${input:MODULE_VERSION}' powershell -NoLogo -NonInteractive -NoProfile -Command '$VerbosePreference = \" Continue\" ; Import-Module \" ./src/${workspaceFolderBasename}/${workspaceFolderBasename}.psm1\" -Force; Invoke-PSModulePublisher -Repository \" ${input:Repository}\" -DryRun:$([System.Convert]::ToBoolean(\" ${input:DryRun}\" ))'" ,
47+ "group" : " build"
48+ },
3749 {
3850 "label" : " Build module (pwsh)" ,
3951 "type" : " shell" ,
6981 "type" : " shell" ,
7082 "command" : " NUGET_API_KEY='${input:NUGET_API_KEY}' MODULE_VERSION='${input:MODULE_VERSION}' powershell -NoLogo -NonInteractive -NoProfile -Command '$VerbosePreference = \" Continue\" ; Import-Module \" ./src/${workspaceFolderBasename}/${workspaceFolderBasename}.psm1\" -Force; Invoke-Publish -Repository \" ${input:Repository}\" -DryRun:$([System.Convert]::ToBoolean(\" ${input:DryRun}\" ))'" ,
7183 "group" : " build"
72- },
84+ }
7385 ]
7486}
You can’t perform that action at this time.
0 commit comments