Skip to content

Commit

Permalink
Remove changes unrelated to update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
chidozieononiwu committed Jan 6, 2021
1 parent a9470b9 commit 533600c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 174 deletions.
153 changes: 0 additions & 153 deletions eng/common/Update-Change-Log.ps1

This file was deleted.

22 changes: 1 addition & 21 deletions eng/scripts/Language-Settings.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ $PackageRepository = "PyPI"
$packagePattern = "*.zip"
$MetadataUri = "https://raw.githubusercontent.com/Azure/azure-sdk/master/_data/releases/latest/python-packages.csv"
$BlobStorageUrl = "https://azuresdkdocs.blob.core.windows.net/%24web?restype=container&comp=list&prefix=python%2F&delimiter=%2F"
$PACKAGE_INSTALL_NOTES_REGEX = "pip\sinstall\s(?<PackageName>.*)==(?<Version>.*)"

function Get-python-PackageInfoFromRepo ($pkgPath, $serviceDirectory, $pkgName)
{
Expand Down Expand Up @@ -211,20 +210,6 @@ function Find-python-Artifacts-For-Apireview($artifactDir, $artifactName)
return $packages
}

function GetExistingPackageVersions ($PackageName, $GroupId=$null)
{
try
{
$existingVersion = Invoke-RestMethod -Method GET -Uri "https://pypi.python.org/pypi/${PackageName}/json"
return ($existingVersion.releases | Get-Member -MemberType NoteProperty).Name
}
catch
{
LogError "Failed to retrieve package versions. `n$_"
return $null
}
}

function SetPackageVersion ($PackageName, $Version, $ServiceDirectory, $ReleaseDate, $BuildType=$null, $GroupId=$null)
{
if($null -eq $ReleaseDate)
Expand All @@ -233,9 +218,4 @@ function SetPackageVersion ($PackageName, $Version, $ServiceDirectory, $ReleaseD
}
pip install -r "$EngDir/versioning/requirements.txt" -q -I
python "$EngDir/versioning/version_set.py" --package-name $PackageName --new-version $Version --service $ServiceDirectory --release-date $ReleaseDate
}

function GetPackageInstallNote ($PackageName, $Version, $GroupId=$null)
{
return "pip install ${PackageName}==${Version}"
}
}

0 comments on commit 533600c

Please sign in to comment.