[repo] A little bit of cleanup for post-release.psm1 (#5632)

This commit is contained in:
Mikel Blanchard 2024-05-20 11:08:27 -07:00 committed by GitHub
parent 2abf2a9e71
commit 07f7e1d08b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -28,7 +28,6 @@ function CreateDraftRelease {
$changelogContent = Get-Content -Path "src/$packageName/CHANGELOG.md"
$headingWritten = $false
$started = $false
$content = ""
@ -122,7 +121,7 @@ function CreateStableVersionUpdatePullRequest {
throw 'git switch failure'
}
(Get-Content Directory.Packages.props) `
(Get-Content Directory.Packages.props) `
-replace '<OTelLatestStableVer>.*<\/OTelLatestStableVer>', "<OTelLatestStableVer>$packageVersion</OTelLatestStableVer>" |
Set-Content Directory.Packages.props