bugfix: Correctly rename image files after build

ChaosCalmer changes the build name format for images in the ar71xx branch (and others perhaps)

Add wildcard match to better handle this going forward.

Change-Id: I76c50d31f1496c76f459d1f28c3ff94d7ec6c3a4
This commit is contained in:
Conrad Lara - KG6JEI 2016-06-09 10:35:17 -07:00
parent b8a9c18850
commit c1cea65168
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-ar71xx-generic/AREDN-$MYBUILDNAME/g" bin/ar71xx/*
rename "s/openwrt.*ar71xx-generic/AREDN-$MYBUILDNAME/g" bin/ar71xx/*