Skip to content

Commit

Permalink
fixing CI build4
Browse files Browse the repository at this point in the history
  • Loading branch information
tig committed Nov 6, 2023
1 parent 9a0b296 commit 0e1847d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@ if ($null -eq $ocgvVersion) {
$v = [Version]::new($module)
$ocgvVersion = "$($v.Major).$($v.Minor).$($v.Build).$($v.Revision)"
"$ocgvModule v$v` found in PSGallery; Updating -RequiredModules in $PsdPath"
Update-ModuleManifest -Path $PsdPath -RequiredModules @(@{ModuleName = "PSReadline"; ModuleVersion = "2.1"},@{ModuleName = $ocgvModule; ModuleVersion = $ocgvVersion}) -ErrorAction Stop -Verbose
cat $PsdPath
Update-ModuleManifest -RequiredModules @(
@{ModuleName = "PSReadline"; ModuleVersion = "2.1" },
@{ModuleName = $ocgvModule; ModuleVersion = $ocgvVersion }
) -Path $PsdPath -ErrorAction Stop -Verbose
}

$OldModule = Get-Module $ModuleName -ErrorAction SilentlyContinue
Expand Down

0 comments on commit 0e1847d

Please sign in to comment.