Continuous Integration: Change else-if to if, so that when multiple natives have been changed that multiple commits are issued.
This commit is contained in:
parent
ad64b7e4b6
commit
6aac1a21bd
@ -25,18 +25,18 @@ if [ "$NATIVE_CHANGES_BULLET" != "" ]; then
|
|||||||
git commit -v -m "[ci skip] bullet: update $TRAVIS_OS_NAME natives"
|
git commit -v -m "[ci skip] bullet: update $TRAVIS_OS_NAME natives"
|
||||||
git pull -q --rebase
|
git pull -q --rebase
|
||||||
git push git@github.com:jMonkeyEngine/jmonkeyengine.git
|
git push git@github.com:jMonkeyEngine/jmonkeyengine.git
|
||||||
elif [ "$NATIVE_CHANGES_ANDROID_BULLET" != "" ]; then
|
fi
|
||||||
|
if [ "$NATIVE_CHANGES_ANDROID_BULLET" != "" ]; then
|
||||||
native_changes_common
|
native_changes_common
|
||||||
git add -v -- jme3-bullet-native-android/libs/
|
git add -v -- jme3-bullet-native-android/libs/
|
||||||
git commit -v -m "[ci skip] android bullet: update natives"
|
git commit -v -m "[ci skip] android bullet: update natives"
|
||||||
git pull -q --rebase
|
git pull -q --rebase
|
||||||
git push git@github.com:jMonkeyEngine/jmonkeyengine.git
|
git push git@github.com:jMonkeyEngine/jmonkeyengine.git
|
||||||
elif [ "$NATIVE_CHANGES_ANDROID_NATIVES" != "" ]; then
|
fi
|
||||||
|
if [ "$NATIVE_CHANGES_ANDROID_NATIVES" != "" ]; then
|
||||||
native_changes_common
|
native_changes_common
|
||||||
git add -v -- jme3-android-native/libs/
|
git add -v -- jme3-android-native/libs/
|
||||||
git commit -v -m "[ci skip] android: update natives"
|
git commit -v -m "[ci skip] android: update natives"
|
||||||
git pull -q --rebase
|
git pull -q --rebase
|
||||||
git push git@github.com:jMonkeyEngine/jmonkeyengine.git
|
git push git@github.com:jMonkeyEngine/jmonkeyengine.git
|
||||||
else
|
|
||||||
echo No native changes.
|
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user