@echo off :=== Parameters === :--- Pull content submodule --- rem pushd resources\lib\content rem git checkout . rem git pull rem popd 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