Skip to content

Commit 48cdbb2

Browse files
authored
avoid automation-introduced file crashing package increment job (#36813)
1 parent 1e86001 commit 48cdbb2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

eng/pipelines/templates/stages/archetype-python-release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,15 @@ stages:
265265
- script: |
266266
python -m pip install "./tools/azure-sdk-tools[build]"
267267
displayName: Install versioning tool dependencies
268+
268269
- pwsh: |
269270
sdk_increment_version --package-name ${{ artifact.name }} --service ${{ parameters.ServiceDirectory }}
271+
if (Test-Path component-detection-pip-report.json) {
272+
Write-Host "Deleting component-detection-pip-report.json"
273+
rm component-detection-pip-report.json
274+
}
270275
displayName: Increment package version
276+
271277
- template: /eng/common/pipelines/templates/steps/create-pull-request.yml
272278
parameters:
273279
RepoName: azure-sdk-for-python

0 commit comments

Comments
 (0)