Commit 59407f9d authored by fuyanbin's avatar fuyanbin
Browse files

cleanup

parent a5f4b04b
...@@ -119,12 +119,7 @@ update_hugepall_zipfile() { ...@@ -119,12 +119,7 @@ update_hugepall_zipfile() {
upload() { upload() {
# get current time # get current time
local date_i=$(date +%Y-%m-%d-%s) local date_i=$(date +%Y-%m-%d-%s)
echo "$date_i"
echo "line 34 end"
echo "$IMAGE_FILE"
outfile=$(basename "$IMAGE_FILE") outfile=$(basename "$IMAGE_FILE")
echo "$outfile"
MD5SUM=$(md5sum ${outfile} | awk '{print $1}' ) MD5SUM=$(md5sum ${outfile} | awk '{print $1}' )
if [[ "$NOUPLOAD" != "true" ]] if [[ "$NOUPLOAD" != "true" ]]
then then
...@@ -138,10 +133,6 @@ upload() { ...@@ -138,10 +133,6 @@ upload() {
upload.sh $args --file ${outfile} --directory product/terminal/chroot_androidrom/${ORGCODE}/${date_i} upload.sh $args --file ${outfile} --directory product/terminal/chroot_androidrom/${ORGCODE}/${date_i}
# construct URL # construct URL
IMG_URL="https://cdn.linkfog.cn/""product/terminal/chroot_androidrom/${ORGCODE}/${date_i}" IMG_URL="https://cdn.linkfog.cn/""product/terminal/chroot_androidrom/${ORGCODE}/${date_i}"
# title
TITLE="???Armbian ???,VENDOR:${VENDOR},ORGCODE:${ORGCODE} ${date}"
mail.sh ${VENDOR} ${IMG_URL} ${MD5SUM} ${TITLE} 2>/dev/null
echo "RESULT: ${VENDOR} ${IMG_URL} ${MD5SUM} ${TITLE}" echo "RESULT: ${VENDOR} ${IMG_URL} ${MD5SUM} ${TITLE}"
# delete .img file # delete .img file
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment