Fix order of git operations

This commit is contained in:
folecr 2012-10-15 15:36:56 -07:00
parent 689ceec780
commit ae90c09666
1 changed files with 1 additions and 1 deletions

View File

@ -108,8 +108,8 @@ fi
set -e set -e
# 3. In JSBindings repo, Check out a branch named "autogeneratedbindings" and commit the auto generated bindings to it # 3. In JSBindings repo, Check out a branch named "autogeneratedbindings" and commit the auto generated bindings to it
${gitcmd_GEN} add --verbose README cocos2dx.cpp cocos2dx.hpp cocos2dxapi.js
${gitcmd_GEN} checkout origin/master -b "$GENERATED_BRANCH" ${gitcmd_GEN} checkout origin/master -b "$GENERATED_BRANCH"
${gitcmd_GEN} add --verbose README cocos2dx.cpp cocos2dx.hpp cocos2dxapi.js
${gitcmd_GEN} commit --verbose -m "$COMMITTAG : autogenerated bindings" ${gitcmd_GEN} commit --verbose -m "$COMMITTAG : autogenerated bindings"
# 4. In JSBindings repo, Push the commit with generated bindings to "master" of the auto generated bindings repository # 4. In JSBindings repo, Push the commit with generated bindings to "master" of the auto generated bindings repository