Another module version test

This commit is contained in:
KevinMarquette
2017-02-05 16:52:10 -08:00
parent 5694f4c00e
commit 3b4722686c

View File

@@ -82,7 +82,7 @@ Task Build -Depends Test {
Set-ModuleFunctions -Name $env:BHPSModuleManifest -FunctionsToExport $functions Set-ModuleFunctions -Name $env:BHPSModuleManifest -FunctionsToExport $functions
# Bump the module version # Bump the module version
$version = Step-Version (Get-Metadata -Path $env:BHPSModuleManifest) $version = [version] (Step-Version (Get-Metadata -Path $env:BHPSModuleManifest))
$galleryVersion = Get-NextPSGalleryVersion -Name $env:BHProjectName $galleryVersion = Get-NextPSGalleryVersion -Name $env:BHProjectName
if($version -lt $galleryVersion) if($version -lt $galleryVersion)
{ {