Skip to content

Commit 6aac1a2

Browse files
committed
Continuous Integration: Change else-if to if, so that when multiple natives have been changed that multiple commits are issued.
1 parent ad64b7e commit 6aac1a2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

private/upload_native.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@ if [ "$NATIVE_CHANGES_BULLET" != "" ]; then
2525
git commit -v -m "[ci skip] bullet: update $TRAVIS_OS_NAME natives"
2626
git pull -q --rebase
2727
git push [email protected]:jMonkeyEngine/jmonkeyengine.git
28-
elif [ "$NATIVE_CHANGES_ANDROID_BULLET" != "" ]; then
28+
fi
29+
if [ "$NATIVE_CHANGES_ANDROID_BULLET" != "" ]; then
2930
native_changes_common
3031
git add -v -- jme3-bullet-native-android/libs/
3132
git commit -v -m "[ci skip] android bullet: update natives"
3233
git pull -q --rebase
3334
git push [email protected]:jMonkeyEngine/jmonkeyengine.git
34-
elif [ "$NATIVE_CHANGES_ANDROID_NATIVES" != "" ]; then
35+
fi
36+
if [ "$NATIVE_CHANGES_ANDROID_NATIVES" != "" ]; then
3537
native_changes_common
3638
git add -v -- jme3-android-native/libs/
3739
git commit -v -m "[ci skip] android: update natives"
3840
git pull -q --rebase
3941
git push [email protected]:jMonkeyEngine/jmonkeyengine.git
40-
else
41-
echo No native changes.
4242
fi

0 commit comments

Comments
 (0)