Skip to content

Commit

Permalink
Post-Build Step: Zip files after release build
Browse files Browse the repository at this point in the history
  • Loading branch information
Sogolumbo committed Feb 13, 2022
1 parent 10635f4 commit 3d702b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PlaylistSyncGUI/PlaylistSyncGUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>if $(ConfigurationName) == Release copy "$(SolutionDir)LICENSE.txt" "$(TargetDir)LICENSE.txt" /Y
if $(ConfigurationName) == Release copy "$(SolutionDir)README.md" "$(TargetDir)README.md" /Y</PostBuildEvent>
if $(ConfigurationName) == Release copy "$(SolutionDir)README.md" "$(TargetDir)README.md" /Y
if $(ConfigurationName) == Release (powershell Compress-Archive -Path '$(TargetDir)*' -DestinationPath '$(SolutionDir)bin\zip\$(SolutionName)_current.zip' -Force)</PostBuildEvent>
</PropertyGroup>
</Project>

0 comments on commit 3d702b4

Please sign in to comment.