Skip to content

Commit 7f678a3

Browse files
author
John
committed
Added 7zip post-build event to automatically zip the release
1 parent 3634730 commit 7f678a3

5 files changed

Lines changed: 7 additions & 2 deletions

File tree

7zip/7za.dll

373 KB
Binary file not shown.

7zip/7za.exe

1.1 MB
Binary file not shown.

7zip/7zxa.dll

205 KB
Binary file not shown.

DOOMSaveManager.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,9 @@
139139
</BootstrapperPackage>
140140
</ItemGroup>
141141
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
142+
<PropertyGroup>
143+
<PostBuildEvent>if $(ConfigurationName) == Release (
144+
"$(ProjectDir)7zip\7za.exe" a "$(TargetDir)Release.zip" "$(TargetDir)BouncyCastle.Crypto.dll" "$(TargetDir)ICSharpCode.SharpZipLib.dll" "$(TargetPath)"
145+
)</PostBuildEvent>
146+
</PropertyGroup>
142147
</Project>

Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.2.0.0")]
36-
[assembly: AssemblyFileVersion("1.2.0.0")]
35+
[assembly: AssemblyVersion("1.2.0.1")]
36+
[assembly: AssemblyFileVersion("1.2.0.1")]

0 commit comments

Comments
 (0)