From ede0ea4046d3a42a386b50624de7790453071fee Mon Sep 17 00:00:00 2001 From: Benny Lichtner Date: Thu, 4 Apr 2019 22:20:09 -0700 Subject: [PATCH] only append the first 6 characters of the commit sha to the filename this might fix the issue people had with uploading firmware images with long filenames to N600s. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3477478..6ff2910 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,7 @@ after_success: - ssh-add ./deploy_key - mkdir deploy_images deploy_images/$DATE $DEPLOY_DIR - cd $FIRMWARE_DIR -- for f in *.bin ; do cp $f ../../$DEPLOY_DIR/${f%.*}-$TRAVIS_COMMIT.bin; done +- for f in *.bin ; do cp $f ../../$DEPLOY_DIR/${f%.*}-${TRAVIS_COMMIT:0:6}.bin; done - cd ../.. - rsync -Pavrt deploy_images/$DATE $DEPLOY_USERNAME@107.170.221.27:/var/www/builds.sudomesh.org/public/sudowrt-firmware/latest/. deploy: