Skip to content

Commit

Permalink
For Lower PSVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
guitarrapc committed Jan 21, 2016
1 parent fb0e8aa commit f4cc6ef
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions valentia/Tools/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,14 @@ $script:moduleManufest = @{
FunctionsToExport = $valentia.functionToExport
VariablesToExport = $valentia.variableToExport;
AliasesToExport = $valentia.AliasesToExport;
ProjectUri = "https://github.com/guitarrapc/valentia"
LicenseUri = "https://github.com/guitarrapc/valentia/blob/master/LICENSE"
Tags = "RemoteManagement", "Orchestration", "Credential", "SymbolicLink"
}

if ($PSVersionTable.PSVersion.Major -ge 5)
{
$moduleManufest.ProjectUri = "https://github.com/guitarrapc/valentia"
$moduleManufest.LicenseUri = "https://github.com/guitarrapc/valentia/blob/master/LICENSE"
$moduleManufest.Tags = "RemoteManagement", "Orchestration", "Credential", "SymbolicLink"
}
New-ModuleManifest @moduleManufest

# As Installer place on ModuleName\Tools.
Expand Down

0 comments on commit f4cc6ef

Please sign in to comment.