File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -120,8 +120,12 @@ function Install-ModulePackageForTest {
120
120
}
121
121
122
122
Write-Verbose - Verbose - Message " Installing module $ ( $config.ModuleName ) to build output path $installationPath "
123
- $psgetVersion = (get-command save-psresource ).Module.ModuleBase
124
- Write-Verbose - Verbose - Message " Version of PSResourceGet imported: $psgetVersion "
123
+ $psgetModuleBase = (get-command save-psresource ).Module.ModuleBase
124
+ $psgetVersion = (get-command save-psresource ).Module.Version.ToString()
125
+ $psgetPrerelease = (get-command find-psresource ).module.PrivateData.PSData.Prerelease
126
+ Write-Verbose - Verbose - Message " PSResourceGet module base imported: $psgetModuleBase "
127
+ Write-Verbose - Verbose - Message " PSResourceGet version base imported: $psgetVersion "
128
+ Write-Verbose - Verbose - Message " PSResourceGet prerelease base imported: $psgetPrerelease "
125
129
Save-PSResource - Name $config.ModuleName - Repository $localRepoName - Path $installationPath - SkipDependencyCheck - Prerelease - Confirm:$false - TrustRepository
126
130
127
131
Write-Verbose - Verbose - Message " Unregistering local package repo: $localRepoName "
You can’t perform that action at this time.
0 commit comments