1 changed file
Build | ||
build.psake.ps1 | ||
Add comment 217
Add comment 218 # Get current manifest version
Add comment 219 try {
Add comment 220 Minus $manifest = Test-ModuleManifest -Path $StagingModulePath -ErrorAction 'Stop'
Add comment 220 Plus $manifest = Test-ModuleManifest -Path $StagingModuleManifestPath -ErrorAction 'Stop'
Add comment 221 [Version]$manifestVersion = $manifest.Version
Add comment 222
Add comment 223 } catch {
Add comment 224 Minus throw "Could not get manifest version from [$StagingModulePath]"
Add comment 224 Plus throw "Could not get manifest version from [$StagingModuleManifestPath]"
Add comment 225 }
Add comment 226
Add comment 227 # Create zip file