Continuous Integration: Change else-if to if, so that when multiple natives have been changed that multiple commits are issued.

fix-openal-soft-deadlink
MeFisto94 5 years ago
parent ad64b7e4b6
commit 6aac1a21bd
  1. 8
      private/upload_native.sh

@ -25,18 +25,18 @@ if [ "$NATIVE_CHANGES_BULLET" != "" ]; then
git commit -v -m "[ci skip] bullet: update $TRAVIS_OS_NAME natives"
git pull -q --rebase
git push git@github.com:jMonkeyEngine/jmonkeyengine.git
elif [ "$NATIVE_CHANGES_ANDROID_BULLET" != "" ]; then
fi
if [ "$NATIVE_CHANGES_ANDROID_BULLET" != "" ]; then
native_changes_common
git add -v -- jme3-bullet-native-android/libs/
git commit -v -m "[ci skip] android bullet: update natives"
git pull -q --rebase
git push git@github.com:jMonkeyEngine/jmonkeyengine.git
elif [ "$NATIVE_CHANGES_ANDROID_NATIVES" != "" ]; then
fi
if [ "$NATIVE_CHANGES_ANDROID_NATIVES" != "" ]; then
native_changes_common
git add -v -- jme3-android-native/libs/
git commit -v -m "[ci skip] android: update natives"
git pull -q --rebase
git push git@github.com:jMonkeyEngine/jmonkeyengine.git
else
echo No native changes.
fi

Loading…
Cancel
Save