From a62a93508c8c233a59e3a09244d61119ebd610d7 Mon Sep 17 00:00:00 2001 From: Andrea Date: Wed, 19 Aug 2020 12:44:47 +0200 Subject: [PATCH] Update deploy_master.sh --- travis/deploy_master.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/travis/deploy_master.sh b/travis/deploy_master.sh index df23a33..75a2aaf 100644 --- a/travis/deploy_master.sh +++ b/travis/deploy_master.sh @@ -111,8 +111,10 @@ if [ "$TRAVIS_OS_NAME_STANDARD" = "linux" ]; then unexpand --tabs=2 $JAVA_SRC_DIR/it/tdlight/tdnatives/new_TdApi.java > $JAVA_SRC_DIR/it/tdlight/tdnatives/TdApi.java rm $JAVA_SRC_DIR/it/tdlight/tdnatives/new_TdApi.java + # Upgrade the file of tdlight-java + cd $TRAVIS_BUILD_DIR git clone --depth=1 -b master --single-branch git@ssh.git.ignuranza.net:tdlight-team/tdlight-java.git || true - cd $TRAVIS_BUILD_DIR/tdlight-java + cd tdlight-java git pull cp $JAVA_SRC_DIR/it/tdlight/tdnatives/TdApi.java src/main/java/it/tdlight/tdnatives/TdApi.java