fix date grabbing

This caused the ZIP file to not be created properly or be moved once done
This commit is contained in:
untuned
2021-04-29 17:38:14 -04:00
parent 87632a0c80
commit 5d1ffe2252
4 changed files with 4 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ call npm run production
cd ..
mklink /J "%~dp0\bin\x64\Release\html" "%~dp0\html\dist"
setlocal
set TODAY=%DATE:~0,4%%DATE:~5,2%%DATE:~8,2%
for /f %%a in ('powershell -Command "Get-Date -format yyyyMMdd"') do set TODAY=%%a
set ZIP_NAME=VRCX_%TODAY%.zip
echo %ZIP_NAME%
rem using bandizip (https://www.bandisoft.com/bandizip)