Skip to content

Commit

Permalink
Add GetPackageInstallNotes function
Browse files Browse the repository at this point in the history
  • Loading branch information
chidozieononiwu committed Dec 10, 2020
1 parent 08e11e8 commit 4785a44
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion eng/scripts/Language-Settings.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ function GetExistingPackageVersions ($PackageName, $GroupId = $null)
}
}

function SetPackageVersion ($PackageName, $Version, $ServiceName = $null, $ReleaseDate, $BuildType = $null, $GroupName = $null)
function SetPackageVersion ($PackageName, $Version, $ServiceDirectory = $null, $ReleaseDate, $BuildType = $null, $GroupId = $null)
{
if ($null -eq $ReleaseDate)
{
Expand All @@ -229,3 +229,7 @@ function SetPackageVersion ($PackageName, $Version, $ServiceName = $null, $Relea
node ./set-version.js --artifact-name $PackageName --new-version $Version --release-date $ReleaseDate --repo-root $RepoRoot
Pop-Location
}
function GetPackageInstallNotes ($PackageName, $Version)
{
return "npm install ${PackageName}@${Version}"
}

0 comments on commit 4785a44

Please sign in to comment.