Skip to content

Commit 9e17301

Browse files
authored
fix: update release (#292)
* Fix pipeline after worker refactor * update
1 parent 4a19d87 commit 9e17301

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

eng/templates/official/jobs/publish-release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
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

0 commit comments

Comments
 (0)