mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +00:00
Updated dependencies Added the possibility to skip chore schedules (closes #1486) Show the meal plan section on the corresponding calendar events (closes #1582) Make it possible to define a time for meal plan sections and use that time for the corresponding calendar events (references #1582) Added a changelog template Make it possible to toggle the meal plan calendar view on bigger screens (closes #1678)
19 lines
932 B
Batchfile
19 lines
932 B
Batchfile
set projectPath=%~dp0
|
|
if %projectPath:~-1%==\ set projectPath=%projectPath:~0,-1%
|
|
set projectPath=%projectPath%\..
|
|
|
|
set releasePath=%projectPath%\.release
|
|
mkdir "%releasePath%"
|
|
|
|
copy "%projectPath%\version.json" versiontemp.json
|
|
for /f "tokens=*" %%a in ('jq .Version versiontemp.json --raw-output') do set version=%%a
|
|
del versiontemp.json
|
|
|
|
del "%releasePath%\grocy_%version%.zip"
|
|
7za a -r "%releasePath%\grocy_%version%.zip" "%projectPath%\*" -xr!.* -xr!build.bat -xr!composer.json -xr!composer.lock -xr!package.json -xr!yarn.lock -xr!docs
|
|
7za a "%releasePath%\grocy_%version%.zip" "%projectPath%\public\.htaccess"
|
|
7za rn "%releasePath%\grocy_%version%.zip" .htaccess public\.htaccess
|
|
7za d "%releasePath%\grocy_%version%.zip" data\*.* data\storage data\viewcache\* changelog\__TEMPLATE.md
|
|
7za a "%releasePath%\grocy_%version%.zip" "%projectPath%\data\.htaccess"
|
|
7za rn "%releasePath%\grocy_%version%.zip" .htaccess data\.htaccess
|