File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
eng/templates/official/jobs Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 2929 # Create release branch release/X.Y.Z
3030 Write-Host "Creating release branch release/$newLibraryVersion"
3131 git push --repo="https://$githubToken@github.com/Azure/azure-functions-python-library.git"
32+
3233 } else {
3334 Write-Host "NewLibraryVersion $newLibraryVersion is malformed (example: 1.5.0)"
3435 exit -1
@@ -144,11 +145,11 @@ jobs:
144145
145146 # Modify SDK Version in pyproject.toml
146147 Write-Host "Replacing SDK version in worker's pyproject.toml"
147- ((Get-Content pyproject.toml) -replace '"azure-functions==(\d)+.(\d)+.*"','"azure-functions==$(NewLibraryVersion)"' -join "`n") + "`n" | Set-Content -NoNewline pyproject.toml
148-
148+ ((Get-Content workers/ pyproject.toml) -replace '"azure-functions==(\d)+.(\d)+.*"','"azure-functions==$(NewLibraryVersion)"' -join "`n") + "`n" | Set-Content -NoNewline workers/ pyproject.toml
149+
149150 # Commit Python Version
150151 Write-Host "Pushing $newBranch to azure-functions-python-worker repo"
151- git add pyproject.toml
152+ git add workers/ pyproject.toml
152153 git commit -m "Update Python SDK Version to $newLibraryVersion"
153154 git push origin $newBranch
154155
You can’t perform that action at this time.
0 commit comments