Skip to content

Commit

Permalink
Add new packaging tools for 5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
arunoda committed Jun 20, 2023
1 parent 0289d10 commit a41f70d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.zip
ToPackage
TestApps
DemoApps
7 changes: 7 additions & 0 deletions package.bat
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,18 @@ xcopy ToPackage\Fetch_46 ToPackage\Fetch_51 /E/H

cscript //NoLogo sed.vbs s/(4.26.0)/5.1.0/ < ToPackage\Fetch_46\Fetch.uplugin > ToPackage\Fetch_51\Fetch.uplugin

echo "Copying the 5.2 version"
md ToPackage\Fetch_52
xcopy ToPackage\Fetch_46 ToPackage\Fetch_52 /E/H

cscript //NoLogo sed.vbs s/(4.26.0)/5.2.0/ < ToPackage\Fetch_46\Fetch.uplugin > ToPackage\Fetch_52\Fetch.uplugin

@REM Identifying the version
FOR /F "tokens=*" %%g IN ('git describe --tags') do (SET VERSION=%%g)

@REM Making zip files
cd ToPackage
tar.exe -a -c -f Fetch_52_%VERSION%.zip Fetch_52
tar.exe -a -c -f Fetch_51_%VERSION%.zip Fetch_51
tar.exe -a -c -f Fetch_50_%VERSION%.zip Fetch_50
tar.exe -a -c -f Fetch_47_%VERSION%.zip Fetch_47
Expand Down

0 comments on commit a41f70d

Please sign in to comment.