Skip to content

Commit

Permalink
only append the first 6 characters of the commit sha to the filename
Browse files Browse the repository at this point in the history
this might fix the issue people had with uploading firmware images with long filenames to N600s.
  • Loading branch information
bennlich authored Apr 5, 2019
1 parent 73fce58 commit ede0ea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]:/var/www/builds.sudomesh.org/public/sudowrt-firmware/latest/.
deploy:
Expand Down

0 comments on commit ede0ea4

Please sign in to comment.