Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 9e8f48c

Browse files
authored
Merge pull request #2 from PowerShell/clean-releasebuild
clean release folders in case agent is reused
2 parents 85a3e0f + 5ba8b1a commit 9e8f48c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

yaml/releaseBuild.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ stages:
4848
vmImage: 'vs2017-win2016'
4949
steps:
5050
- pwsh: |
51+
# build agents get reused so we make sure to remove the old archive
52+
Remove-Item -Path $(Build.SourcesDirectory)/SignedZip -Recurse -Force
53+
Remove-Item -Path $(Build.SourcesDirectory)/Microsoft.PowerShell.TextUtility -Recurse -Force
5154
.\build.ps1 -Clean
5255
Remove-Item .\out\*.pdb
5356
displayName: Build

0 commit comments

Comments
 (0)