From ae90c096669e35b08cf8abcf96cd11612748fe1c Mon Sep 17 00:00:00 2001 From: folecr Date: Mon, 15 Oct 2012 15:36:56 -0700 Subject: [PATCH] Fix order of git operations --- tools/jenkins_scripts/mac/android/generate-js-cxx-bindings.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/jenkins_scripts/mac/android/generate-js-cxx-bindings.sh b/tools/jenkins_scripts/mac/android/generate-js-cxx-bindings.sh index 74f3dd7c7d..372a2c1548 100755 --- a/tools/jenkins_scripts/mac/android/generate-js-cxx-bindings.sh +++ b/tools/jenkins_scripts/mac/android/generate-js-cxx-bindings.sh @@ -108,8 +108,8 @@ fi set -e # 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} add --verbose README cocos2dx.cpp cocos2dx.hpp cocos2dxapi.js ${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