Skip to content

Commit ede0ea4

Browse files
authored
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.
1 parent 73fce58 commit ede0ea4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ after_success:
1919
- ssh-add ./deploy_key
2020
- mkdir deploy_images deploy_images/$DATE $DEPLOY_DIR
2121
- cd $FIRMWARE_DIR
22-
- for f in *.bin ; do cp $f ../../$DEPLOY_DIR/${f%.*}-$TRAVIS_COMMIT.bin; done
22+
- for f in *.bin ; do cp $f ../../$DEPLOY_DIR/${f%.*}-${TRAVIS_COMMIT:0:6}.bin; done
2323
- cd ../..
2424
- rsync -Pavrt deploy_images/$DATE $DEPLOY_USERNAME@107.170.221.27:/var/www/builds.sudomesh.org/public/sudowrt-firmware/latest/.
2525
deploy:

0 commit comments

Comments
 (0)