Skip to content

Commit f20b47b

Browse files
karthiknadigwesm
authored andcommitted
Cleanup .nox environments after build (microsoft/vscode-python#23274)
This is needed to clear up some Component Governance issues
1 parent a8f8bb7 commit f20b47b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

extensions/positron-python/build/azure-pipeline.pre-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ extends:
6969

7070
- script: gulp prePublishBundle
7171
displayName: Build
72+
73+
- displayName: Clean up Nox
74+
script: python -c "import shutil; shutil.rmtree('.nox', ignore_errors=True)"
75+
continueOnError: true
7276
tsa:
7377
config:
7478
areaPath: 'Visual Studio Code Python Extensions'

extensions/positron-python/build/azure-pipeline.stable.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ extends:
6464

6565
- script: gulp prePublishBundle
6666
displayName: Build
67+
68+
- displayName: Clean up Nox
69+
script: python -c "import shutil; shutil.rmtree('.nox', ignore_errors=True)"
70+
continueOnError: true
6771
tsa:
6872
config:
6973
areaPath: 'Visual Studio Code Python Extensions'

0 commit comments

Comments
 (0)