We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4413f12 commit 9484431Copy full SHA for 9484431
scripts/incrementMinorVersion.ps1
@@ -1,6 +1,6 @@
1
Push-Location -Path (Join-Path -Path $PSScriptRoot -ChildPath "..")
2
-$versionFileContent = Get-Content -Path "msgraph/_version.py"
3
-$version = $versionFileContent -replace "VERSION: str = '", '' -replace "'", ''
+$versionFileContent = Get-Content -Path "msgraph/_version.py" -Raw
+$version = $versionFileContent.Split("`r`n")[0] -replace "VERSION: str = '", '' -replace "'", ''
4
$versionParts = $version -split "\."
5
$versionParts[1] = [int]$versionParts[1] + 1
6
$versionParts[2] = 0
0 commit comments