Skip to content

Commit 07f7e1d

Browse files
authored
[repo] A little bit of cleanup for post-release.psm1 (#5632)
1 parent 2abf2a9 commit 07f7e1d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

build/scripts/post-release.psm1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ function CreateDraftRelease {
2828

2929
$changelogContent = Get-Content -Path "src/$packageName/CHANGELOG.md"
3030

31-
$headingWritten = $false
3231
$started = $false
3332
$content = ""
3433

@@ -122,7 +121,7 @@ function CreateStableVersionUpdatePullRequest {
122121
throw 'git switch failure'
123122
}
124123

125-
(Get-Content Directory.Packages.props) `
124+
(Get-Content Directory.Packages.props) `
126125
-replace '<OTelLatestStableVer>.*<\/OTelLatestStableVer>', "<OTelLatestStableVer>$packageVersion</OTelLatestStableVer>" |
127126
Set-Content Directory.Packages.props
128127

0 commit comments

Comments
 (0)