bugfix: Reduce file name length.

Reduce filename length by 15 characters at all time.  Help reduce problems with max name length for TPLink devices.

This will not solve all issues as our file name style of branch-buildnumber-8CharCommitID the releases can get long.

This will however allow the final build name for a release version to be under the max file length (for now)

ref AREDN->ticket:107
This commit is contained in:
Conrad Lara - KG6JEI 2015-05-24 14:55:37 -07:00
parent 1f4fa46887
commit 47fa0e4b6d
1 changed files with 1 additions and 1 deletions

View File

@ -31,5 +31,5 @@ if ( -z "$BUILD_SET_VERSION" ); then
else
MYBUILDNAME="${SHORT_BRANCH}-${BUILD_NUMBER}-${SHORT_COMMIT}"
fi
rename "s/openwrt/AREDN-$MYBUILDNAME/g" bin/ar71xx/*
rename "s/openwrt-ar71xx-generic/AREDN-$MYBUILDNAME/g" bin/ar71xx/*