From 52175e34f554a392c316aaf71c01c4f3650f07c8 Mon Sep 17 00:00:00 2001 From: clubby789 Date: Sun, 20 Sep 2020 23:10:16 +0100 Subject: [PATCH] Update release build script --- .gitignore | 1 + ClockLib/ClockLib.csproj | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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"