Update release build script

This commit is contained in:
clubby789 2020-09-20 23:10:16 +01:00
parent 938c4318ff
commit 52175e34f5
2 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ packages
ClockLib/bin
ClockLib/obj
ClockLib/ClockLib.csproj.user
ClockLib/Release.zip

View File

@ -301,7 +301,8 @@
copy /y "$(ProjectDir)\manifest.json" "$(ProjectDir)\Release"
copy /y "$(ProjectDir)\events.json" "$(ProjectDir)\Release"
copy /y "$(ProjectDir)\bin\Release\Clock.dll" "$(ProjectDir)\Release"
tar.exe -a -c -f Release.zip "$(ProjectDir)\Release"
cd "$(ProjectDir)"
tar.exe -a -c -f Release.zip "Release"
rmdir /s /q "$(ProjectDir)\Release"
</PostBuildEvent>
</PropertyGroup>