@echo off :--- Pull content submodule --- pushd resources\lib\content 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 if not ()==(%1%) ( git commit -m %ver% git tag -d "%ver%" git tag %ver% git push pushd %repo_dir%.. call update_repo.bat xcopy /s /y repo %feed_dir% popd ) pause