Fixed manifest version check
2fbd46fb
Adam Rush
committed
succeeded
1 changed file
build.psake.ps1
/Build/build.psake.ps1-2+2
/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