Skip to content

Commit

Permalink
Remove Windows condition from zip task
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-bures committed Dec 22, 2023
1 parent 4e5060c commit 3466a6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SpaceWarp/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
<Message Text="Compressing built plugin folder" Condition="$(ConfigurationName) == Release"/>
<Delete Condition="$(ConfigurationName) == Release"
Files="$(SolutionDir)/dist/$(SolutionName)-$(Version).zip"/>
<Exec Condition="$(ConfigurationName) == 'Release' and '$(OS)' == 'Windows_NT'"
<Exec Condition="$(ConfigurationName) == 'Release'"
Command="$(PowerShellExecutable) -Command &quot;&amp; {Push-Location '$(SolutionDir)/dist/$(ConfigurationName)'; Compress-Archive -Path './*' -DestinationPath '$(SolutionDir)/dist/$(SolutionName)-$(Version).zip'; Pop-Location}&quot;"/>

<!-- Packing NuGet package -->
Expand Down

0 comments on commit 3466a6e

Please sign in to comment.