Another module version test
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user