@echo off :--- Pull content submodule --- pushd resources\lib\content git commit -a -m labojumi git checkout . git pull popd :=== Parameters === python get_version.py addon.xml >version.txt set /p ver=%repo_dir%%pack_name%\%pack_name%-%ver%.zip.md5 git add %release_dir%%pack_name%-%ver%.zip rm -r -f "%pack_name%" if not ()==(%1%) ( git commit -m %ver% git tag -d "%ver%" git tag %ver% git push pushd %repo_dir%.. call update_repo.bat rem xcopy /s /y /u repo %feed_dir% robocopy repo %feed_dir% addons.* /copy:dat robocopy repo\%pack_name% q:\web\repo\%pack_name% /copy:DAT /xo popd ) pause