Skip to content

Commit 1f316c3

Browse files
committed
Fix build script to avoid error related to hidden IDE setting file.
1 parent c8c3ad6 commit 1f316c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Pack.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ if ( ![IO.Directory]::Exists( ".\MsgPack-CLI" ) )
2424
}
2525
else
2626
{
27-
Remove-Item .\MsgPack-CLI\* -Recurse
27+
Remove-Item .\MsgPack-CLI\* -Recurse -Force
2828
}
2929

3030
if ( ![IO.Directory]::Exists( ".\MsgPack-CLI\mpu" ) )
@@ -57,6 +57,6 @@ if ( [IO.File]::Exists( ".\MsgPack.Cli.latest.zip" ) )
5757
Remove-Item .\MsgPack.Cli.latest.zip
5858
}
5959
[IO.Compression.ZipFile]::CreateFromDirectory( ".\MsgPack-CLI", ".\MsgPack.Cli.latest.zip" )
60-
Remove-Item .\MsgPack-CLI -Recurse
60+
Remove-Item .\MsgPack-CLI -Recurse -Force
6161

6262
Write-Host "Package creation finished. Ensure AssemblyInfo.cs is updated and .\SetFileVersions.ps1 was executed."

0 commit comments

Comments
 (0)