diff --git a/.gitignore b/.gitignore index 4376093..4f92e24 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ packages ClockLib/bin ClockLib/obj ClockLib/ClockLib.csproj.user +ClockLib/Release.zip diff --git a/ClockLib/ClockLib.csproj b/ClockLib/ClockLib.csproj index bb7db94..f4169e1 100644 --- a/ClockLib/ClockLib.csproj +++ b/ClockLib/ClockLib.csproj @@ -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"