|
|
@ -149,10 +149,6 @@ function upload |
|
|
|
AWSCLI+=" --profile $PROFILE" |
|
|
|
AWSCLI+=" --profile $PROFILE" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
for bin in "${!SRC[@]}"; do |
|
|
|
|
|
|
|
[ -e $BINDIR/$bin ] && $AWSCLI s3 cp $BINDIR/$bin s3://${BUCKET}$FOLDER/$bin --acl public-read |
|
|
|
|
|
|
|
done |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ "$STATIC" != "true" ]; then |
|
|
|
if [ "$STATIC" != "true" ]; then |
|
|
|
for lib in "${!LIB[@]}"; do |
|
|
|
for lib in "${!LIB[@]}"; do |
|
|
|
if [ -e ${LIB[$lib]} ]; then |
|
|
|
if [ -e ${LIB[$lib]} ]; then |
|
|
@ -161,8 +157,15 @@ function upload |
|
|
|
echo "!! MISSING ${LIB[$lib]} !!" |
|
|
|
echo "!! MISSING ${LIB[$lib]} !!" |
|
|
|
fi |
|
|
|
fi |
|
|
|
done |
|
|
|
done |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
FOLDER+='/static' |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for bin in "${!SRC[@]}"; do |
|
|
|
|
|
|
|
[ -e $BINDIR/$bin ] && $AWSCLI s3 cp $BINDIR/$bin s3://${BUCKET}$FOLDER/$bin --acl public-read |
|
|
|
|
|
|
|
done |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ -e $BINDIR/md5sum.txt ] && $AWSCLI s3 cp $BINDIR/md5sum.txt s3://${BUCKET}$FOLDER/md5sum.txt --acl public-read |
|
|
|
[ -e $BINDIR/md5sum.txt ] && $AWSCLI s3 cp $BINDIR/md5sum.txt s3://${BUCKET}$FOLDER/md5sum.txt --acl public-read |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|